summaryrefslogtreecommitdiffstats
path: root/kernel/tsacct.c
diff options
context:
space:
mode:
authorThadeu Lima de Souza Cascardo <cascardo@canonical.com>2021-12-17 12:44:09 -0300
committerCorey Minyard <cminyard@mvista.com>2021-12-17 14:39:03 -0600
commit2b5160b12091285c5aca45980f100a9294af7b04 (patch)
tree6103b60f89dba224e5ed395098460c82bb8d98c0 /kernel/tsacct.c
parent34f35f8f14bc406efc06ee4ff73202c6fd245d15 (diff)
downloadlinux-2b5160b12091285c5aca45980f100a9294af7b04.tar.bz2
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 'kernel/tsacct.c')
0 files changed, 0 insertions, 0 deletions