diff options
author | Danila Chernetsov <listdansp@mail.ru> | 2023-03-17 20:51:09 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-25 03:27:17 +0300 |
commit | 75cb113cd43f06aaf4f1bda0069cfd5b98e909eb (patch) | |
tree | c4e2d79f221e9e2b6e6e3d316e9d943ac98690f4 /tools/perf/scripts/python/syscall-counts.py | |
parent | 62d15dba0aa4448c15da9c9443018c70fc2527b2 (diff) | |
download | linux-75cb113cd43f06aaf4f1bda0069cfd5b98e909eb.tar.xz |
scsi: megaraid: Fix mega_cmd_done() CMDID_INT_CMDS
When cmdid == CMDID_INT_CMDS, the 'cmds' pointer is NULL but is
dereferenced below.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 0f2bb84d2a68 ("[SCSI] megaraid: simplify internal command handling")
Signed-off-by: Danila Chernetsov <listdansp@mail.ru>
Link: https://lore.kernel.org/r/20230317175109.18585-1-listdansp@mail.ru
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions