diff options
author | 2022-11-26 09:25:58 +0800 | |
---|---|---|
committer | 2022-12-07 13:29:14 +0100 | |
commit | 4f431a047a5c8698ed4b67e2760cfbeb5fffb69d (patch) | |
tree | 95dbca1405a350eb7e95aaecb59628da9cc30c74 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mmc: core: refactor debugfs code (diff) | |
download | wireguard-linux-4f431a047a5c8698ed4b67e2760cfbeb5fffb69d.tar.xz wireguard-linux-4f431a047a5c8698ed4b67e2760cfbeb5fffb69d.zip |
memstick/ms_block: Add check for alloc_ordered_workqueue
As the alloc_ordered_workqueue may return NULL pointer, it should be better
to add check for the return value. Moreover, the msb->io_queue should be
freed if error occurs later.
Fixes: 0ab30494bc4f ("memstick: add support for legacy memorysticks")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20221126012558.34374-1-jiasheng@iscas.ac.cn
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions