From: Joe Lawrence Date: Wed, 25 Jun 2014 21:05:34 +0000 (-0400) Subject: mpt3sas: combine fw_event_work and its event_data X-Git-Tag: omap-for-v3.17/fixes-against-rc2~143^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35b623628033548348d8005e22d8962a11b4a468;p=pandora-kernel.git 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 Acked-by: Sreekanth Reddy Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed