summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pm8001/pm8001_ctl.c
diff options
context:
space:
mode:
authorTomas Henzl <thenzl@redhat.com>2014-07-07 17:20:00 +0200
committerChristoph Hellwig <hch@lst.de>2014-07-25 17:17:05 -0400
commit9422e864fa4e2d323407cfca6ca14712cf17fb40 (patch)
tree36d586eae9bed65156cd681bcd2e4bab59a6f2d7 /drivers/scsi/pm8001/pm8001_ctl.c
parentda225498d97565b6f25ed28ebdf0fecdf3a5ca5c (diff)
downloadop-kernel-dev-9422e864fa4e2d323407cfca6ca14712cf17fb40.zip
op-kernel-dev-9422e864fa4e2d323407cfca6ca14712cf17fb40.tar.gz
pm8001: fix a memory leak in flash_update
ccb->fw_control_context is copied to local fw_control_context and the local variable is never used later Free ccb->fw_control_context. The task is forgotten thus also the reference to fw_control_context and the completion thread takes the info from virt_ptr again. 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/pm8001/pm8001_ctl.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud