diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2024-02-13 06:44:11 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2024-02-20 10:09:02 +0300 |
commit | 2c88c16dc20e88dd54d2f6f4d01ae1dce6cc9654 (patch) | |
tree | be221a16f9ef29e552d71b6c1fbd4eec33e9424c /drivers/usb/serial/option.c | |
parent | 7e4a205fe56b9092f0143dad6aa5fee081139b09 (diff) | |
download | linux-2c88c16dc20e88dd54d2f6f4d01ae1dce6cc9654.tar.xz |
erofs: fix handling kern_mount() failure
if you have a variable that holds NULL or a pointer to live struct mount,
do not shove ERR_PTR() into it - not if you later treat "not NULL" as
"holds a pointer to object".
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/usb/serial/option.c')
0 files changed, 0 insertions, 0 deletions