summaryrefslogtreecommitdiffstats
path: root/drivers/char/tb0219.c
diff options
context:
space:
mode:
authorThadeu Lima de Souza Cascardo <cascardo@canonical.com>2021-12-17 16:44:09 +0100
committerCorey Minyard <cminyard@mvista.com>2021-12-17 21:39:03 +0100
commit2b5160b12091285c5aca45980f100a9294af7b04 (patch)
tree6103b60f89dba224e5ed395098460c82bb8d98c0 /drivers/char/tb0219.c
parentipmi: ssif: initialize ssif_info->client early (diff)
downloadlinux-2b5160b12091285c5aca45980f100a9294af7b04.tar.xz
linux-2b5160b12091285c5aca45980f100a9294af7b04.zip
ipmi: bail out if init_srcu_struct fails
In case, init_srcu_struct fails (because of memory allocation failure), we might proceed with the driver initialization despite srcu_struct not being entirely initialized. Fixes: 913a89f009d9 ("ipmi: Don't initialize anything in the core until something uses it") Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com> Cc: Corey Minyard <cminyard@mvista.com> Cc: stable@vger.kernel.org Message-Id: <20211217154410.1228673-1-cascardo@canonical.com> Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char/tb0219.c')
0 files changed, 0 insertions, 0 deletions