The patch titled From: Rakib Mullick <rakib.mullick@xxxxxxxxx> has been added to the -mm tree. Its filename is scsi-fix-unused-variable-warning-in-mpt2sas_scsihc.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Rakib Mullick <rakib.mullick@xxxxxxxxx> Subject: drivers/scsi/mpt2sas/mpt2sas_scsih.c: fix unused variable warning drivers/scsi/mpt2sas/mpt2sas_scsih.c: In function `_scsih_sas_broadcast_primative_event': drivers/scsi/mpt2sas/mpt2sas_scsih.c:5729:40: warning: unused variable `event_data' Signed-off-by: Rakib Mullick <rakib.mullick@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/scsi/mpt2sas/mpt2sas_scsih.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff -puN drivers/scsi/mpt2sas/mpt2sas_scsih.c~scsi-fix-unused-variable-warning-in-mpt2sas_scsihc drivers/scsi/mpt2sas/mpt2sas_scsih.c --- a/drivers/scsi/mpt2sas/mpt2sas_scsih.c~scsi-fix-unused-variable-warning-in-mpt2sas_scsihc +++ a/drivers/scsi/mpt2sas/mpt2sas_scsih.c @@ -5726,7 +5726,6 @@ _scsih_sas_broadcast_primative_event(str u32 termination_count; u32 query_count; Mpi2SCSITaskManagementReply_t *mpi_reply; - Mpi2EventDataSasBroadcastPrimitive_t *event_data = fw_event->event_data; u16 ioc_status; unsigned long flags; int r; @@ -5735,8 +5734,8 @@ _scsih_sas_broadcast_primative_event(str mutex_lock(&ioc->tm_cmds.mutex); dewtprintk(ioc, printk(MPT2SAS_INFO_FMT "%s: enter: phy number(%d), " - "width(%d)\n", ioc->name, __func__, event_data->PhyNum, - event_data->PortWidth)); + "width(%d)\n", ioc->name, __func__, fw_event->event_data->PhyNum, + fw_event->event_data->PortWidth)); _scsih_block_io_all_device(ioc); _ Subject: From: Rakib Mullick <rakib.mullick@xxxxxxxxx> Patches currently in -mm which might be from rakib.mullick@xxxxxxxxx are scsi-fix-unused-variable-warning-in-mpt2sas_scsihc.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html