diff options
author | Anton Ivanov <anton.ivanov@cambridgegreys.com> | 2019-02-26 16:55:25 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2019-03-06 22:39:18 +0100 |
commit | aea05eb56e47046de1e5b508d40931dca969f1e5 (patch) | |
tree | 198e7e45ab8ae97a1a6df74279e8c41133a39a29 /arch/arm/boot/dts/ls1021a-twr.dts | |
parent | um: Remove duplicated include from vector_user.c (diff) | |
download | linux-aea05eb56e47046de1e5b508d40931dca969f1e5.tar.xz linux-aea05eb56e47046de1e5b508d40931dca969f1e5.zip |
um: Fix for a possible OOPS in ubd initialization
If the ubd device failed to allocate a queue during
initialization it tried call blk_cleanup_queue resulting
in an oops.
This patch simplifies the cleanup logic and ensures that
blk_queue_cleanup is called only if there is a valid queue.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/arm/boot/dts/ls1021a-twr.dts')
0 files changed, 0 insertions, 0 deletions