On 1/17/17, 10:02 AM, "Bart Van Assche" <bart.vanassche@xxxxxxxxxxx> wrote: >This patch avoids that building with W=1 triggers a compiler warning >about a missing declaration. > >Signed-off-by: Bart Van Assche <bart.vanassche@xxxxxxxxxxx> >Cc: Quinn Tran <quinn.tran@xxxxxxxxxx> >Cc: Himanshu Madhani <himanshu.madhani@xxxxxxxxxx> >Cc: Christoph Hellwig <hch@xxxxxx> >--- > drivers/scsi/qla2xxx/qla_mbx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c >index 3f0b592f02bf..b3a9f6a40a44 100644 >--- a/drivers/scsi/qla2xxx/qla_mbx.c >+++ b/drivers/scsi/qla2xxx/qla_mbx.c >@@ -10,7 +10,7 @@ > #include <linux/delay.h> > #include <linux/gfp.h> > >-struct rom_cmd { >+static struct rom_cmd { > uint16_t cmd; > } rom_cmds[] = { > { MBC_LOAD_RAM }, >-- >2.11.0 Acked-by: Himanshu Madhani <himanshu.madhani@xxxxxxxxxx> > ��.n��������+%������w��{.n����j�����{ay�ʇڙ���f���h������_�(�階�ݢj"��������G����?���&��