diff options
author | Thadeu Lima de Souza Cascardo <[email protected]> | 2021-12-17 12:44:10 -0300 |
---|---|---|
committer | Corey Minyard <[email protected]> | 2021-12-17 14:39:03 -0600 |
commit | 75d70d76cb7b927cace2cb34265d68ebb3306b13 (patch) | |
tree | d03bcc5ee2647f9d7ff841d810897313fc651599 /scripts/bpf_doc.py | |
parent | 2b5160b12091285c5aca45980f100a9294af7b04 (diff) |
ipmi: fix initialization when workqueue allocation fails
If the workqueue allocation fails, the driver is marked as not initialized,
and timer and panic_notifier will be left registered.
Instead of removing those when workqueue allocation fails, do the workqueue
initialization before doing it, and cleanup srcu_struct if it fails.
Fixes: 1d49eb91e86e ("ipmi: Move remove_work to dedicated workqueue")
Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]>
Cc: Corey Minyard <[email protected]>
Cc: Ioanna Alifieraki <[email protected]>
Cc: [email protected]
Message-Id: <[email protected]>
Signed-off-by: Corey Minyard <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions