diff options
author | 2010-02-19 11:46:24 -0800 | |
---|---|---|
committer | 2010-03-03 21:12:21 +0530 | |
commit | 98e1e0f07c3f1820b8ac424569ee9e9916d3665b (patch) | |
tree | 70ccee35002cdc3093f8a2892f29df19ab93330a /lib/bitmap.c | |
parent | [SCSI] sd: Fix VPD buffer allocations (diff) | |
download | linux-dev-98e1e0f07c3f1820b8ac424569ee9e9916d3665b.tar.xz linux-dev-98e1e0f07c3f1820b8ac424569ee9e9916d3665b.zip |
[SCSI] libosd: Fix unchecked err return found by smatch
Doing CHECK="smatch --two-passes gives:
drivers/scsi/osd/osd_initiator.c +1435 osd_finalize_request warning: assignment to 'ret' was never used
Which is an unchecked possible allocation failure, Fixed.
Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions