diff options
author | Artem Chernyshev <[email protected]> | 2023-11-28 14:10:08 +0300 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-12-05 21:01:52 -0500 |
commit | f5f27a332a14f43463aa0075efa3a0c662c0f4a8 (patch) | |
tree | e5016cd051de591cb546739c2658e62316185d7f /scripts/generate_rust_analyzer.py | |
parent | af85d689ae08860e4f9648f05e09f1de868091f4 (diff) |
scsi: fnic: Return error if vmalloc() failed
In fnic_init_module() exists redundant check for return value from
fnic_debugfs_init(), because at moment it only can return zero. It make
sense to process theoretical vmalloc() failure.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 9730ddfb123d ("scsi: fnic: remove redundant assignment of variable rc")
Signed-off-by: Artem Chernyshev <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Karan Tilak Kumar <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions