diff options
author | Joe Lawrence <joe.lawrence@stratus.com> | 2014-06-25 23:05:34 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-07-25 23:16:57 +0200 |
commit | 35b623628033548348d8005e22d8962a11b4a468 (patch) | |
tree | 9bc01a311ea42f736209d247344ea879dc1f4ec6 /include | |
parent | mpt3sas: correct scsi_{target,device} hostdata allocation (diff) | |
download | linux-35b623628033548348d8005e22d8962a11b4a468.tar.xz linux-35b623628033548348d8005e22d8962a11b4a468.zip |
mpt3sas: combine fw_event_work and its event_data
Tack the firmware reply event_data payload to the end of its
corresponding struct fw_event_work allocation. This matches the
convention in the mptfusion driver and simplifies the code.
This avoids the following smatch warning:
drivers/scsi/mpt3sas/mpt3sas_scsih.c:2519
mpt3sas_send_trigger_data_event() warn: possible memory leak of
'fw_event'
Signed-off-by: Joe Lawrence <joe.lawrence@stratus.com>
Acked-by: Sreekanth Reddy <Sreekanth.Reddy@avagotech.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions