diff options
| author | Thadeu Lima de Souza Cascardo <[email protected]> | 2021-12-17 15:44:09 +0000 |
|---|---|---|
| committer | Corey Minyard <[email protected]> | 2021-12-17 20:39:03 +0000 |
| commit | 2b5160b12091285c5aca45980f100a9294af7b04 (patch) | |
| tree | 6103b60f89dba224e5ed395098460c82bb8d98c0 /tools/perf/scripts/python/libxed.py | |
| parent | ipmi: ssif: initialize ssif_info->client early (diff) | |
| download | kernel-2b5160b12091285c5aca45980f100a9294af7b04.tar.gz kernel-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 <[email protected]>
Cc: Corey Minyard <[email protected]>
Cc: [email protected]
Message-Id: <[email protected]>
Signed-off-by: Corey Minyard <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
