diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-01-03 19:47:44 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-01-09 05:57:26 +0300 |
commit | 12de280b36f0e0599c7f170aa7f1058f3aeb6d9d (patch) | |
tree | 90c064dc2c4b3ff4fa3cacccc65766737a4f014d /tools/perf/scripts/python/syscall-counts.py | |
parent | 3f7e62bba0003f9c68f599f5997c4647ef5b4f4e (diff) | |
download | linux-12de280b36f0e0599c7f170aa7f1058f3aeb6d9d.tar.xz |
scsi: smartpqi_init: fix boolean expression in pqi_device_remove_start
Fix boolean expression by using logical AND operator '&&' instead of
bitwise operator '&'.
This issue was detected with the help of Coccinelle.
Fixes: 1e46731efd9c ("scsi: smartpqi: check for null device pointers")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Don Brace <don.brace@microsemi.com>
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