summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bnx2i
diff options
context:
space:
mode:
authorTomas Henzl <thenzl@redhat.com>2014-07-07 17:19:59 +0200
committerChristoph Hellwig <hch@lst.de>2014-07-25 23:17:05 +0200
commit31d05e5b14f362c7ea99d1d9e977771ef434b820 (patch)
tree50148ca973da063718f33e5226ee08c5dc770c35 /drivers/scsi/bnx2i
parentpm8001: fix a memory leak in flash_update (diff)
downloadlinux-31d05e5b14f362c7ea99d1d9e977771ef434b820.tar.xz
linux-31d05e5b14f362c7ea99d1d9e977771ef434b820.zip
pm8001: fix update_flash
The driver checks the return valu, but after he tries to wait_for_completion which might never happen. Also the ioctl buffer is freed at the end of the function, so the first removal is not needed. Signed-off-by: Tomas Henzl <thenzl@redhat.com> Acked-by: Suresh Thiagarajan <Suresh.Thiagarajan@pmcs.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/bnx2i')
0 files changed, 0 insertions, 0 deletions