]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] mpt2sas: fix for unused variable 'event_data' warning
authorReddy, Sreekanth <Sreekanth.Reddy@lsi.com>
Tue, 26 Feb 2013 12:06:12 +0000 (17:36 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 24 Jun 2013 19:55:34 +0000 (12:55 -0700)
commit5c2dddb2efad664ed0213000a9f86c7b0bd2a8a1
tree859157d555153bd39a44df2bcd0358e9428b0a13
parentd6b4ce94801aab97e4202341de624c71f257a0e6
[SCSI] mpt2sas: fix for unused variable 'event_data' warning

If CONFIG_SCSI_MPT2SAS_LOGGING is undefined, then these warnings are emitted

drivers/scsi/mpt2sas/mpt2sas_scsih.c: In function '_scsih_sas_broadcast_primitive_event'
drivers/scsi/mpt2sas/mpt2sas_scsih.c:5810:40: warning: unused variable 'event_data'

Use pr_info() function instead of dewtprintk().

Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/mpt2sas/mpt2sas_scsih.c