diff options
author | 2013-04-17 05:15:28 -0400 | |
---|---|---|
committer | 2013-05-02 12:27:33 -0700 | |
commit | 1bcb56190353f12aa99e455658760d25b07e4646 (patch) | |
tree | 88952c1942db740ad61ac9fc804aeb96212d5588 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | [SCSI] qla4xxx: Fix sparse warning for qla4xxx_sysfs_ddb_tgt_create (diff) | |
download | linux-dev-1bcb56190353f12aa99e455658760d25b07e4646.tar.xz linux-dev-1bcb56190353f12aa99e455658760d25b07e4646.zip |
[SCSI] qla4xxx: Fix smatch warnings
Fix following smatch warnings:-
drivers/scsi/qla4xxx/ql4_os.c:6573
qla4xxx_sysfs_ddb_set_param() warn: possible memory leak of 'fw_ddb_entry'
drivers/scsi/qla4xxx/ql4_os.c:6596
qla4xxx_sysfs_ddb_delete() warn: variable dereferenced before check 'fnode_sess'
(see line 6584)
drivers/scsi/qla4xxx/ql4_os.c:6632
qla4xxx_sysfs_ddb_delete() error: potential NULL dereference 'fw_ddb_entry'.
Signed-off-by: Adheer Chandravanshi <adheer.chandravanshi@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions