Re: [PATCH v3] qla2xxx: silence two GCC warnings

From: Paul Bolle
Date: Tue Jan 29 2013 - 04:57:26 EST


On Mon, 2012-10-08 at 11:15 -0500, Saurav Kashyap wrote:
> Acked-by: Saurav Kashyap <saurav.kashyap@xxxxxxxxxx>
>
> Thanks,
> ~Saurav
>
> >Compiling qla_gs.o (part of the qla2xxx module) triggers two GCC
> >warnings:
> > drivers/scsi/qla2xxx/qla_gs.c: In function Åqla2x00_fdmi_rhbaÂ:
> > drivers/scsi/qla2xxx/qla_gs.c:1339:7: warning: array subscript is
> >above array bounds [-Warray-bounds]
> > drivers/scsi/qla2xxx/qla_gs.c: In function Åqla2x00_fdmi_registerÂ:
> > drivers/scsi/qla2xxx/qla_gs.c:1663:15: warning: array subscript is
> >above array bounds [-Warray-bounds]

This patch was originally posted to silence two GCC warnings while
building v3.6-rc7. Basically identical warnings can still be seen while
building v3.8-rc5. What's the status of this patch?


Paul Bolle

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/