Message ID | 20210303144631.3175331-16-lee.jones@linaro.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Rid W=1 warnings in SCSI | expand |
> -----Original Message----- > From: Lee Jones <lee.jones@linaro.org> > Sent: Wednesday, March 3, 2021 8:16 PM > To: lee.jones@linaro.org > Cc: linux-kernel@vger.kernel.org; Nilesh Javali <njavali@marvell.com>; GR- > QLogic-Storage-Upstream <GR-QLogic-Storage-Upstream@marvell.com>; > James E.J. Bottomley <jejb@linux.ibm.com>; Martin K. Petersen > <martin.petersen@oracle.com>; linux-scsi@vger.kernel.org > Subject: [EXT] [PATCH 15/30] scsi: qla2xxx: qla_iocb: Replace > __qla2x00_marker()'s missing underscores > > External Email > > ---------------------------------------------------------------------- > Fixes the following W=1 kernel build warning(s): > > drivers/scsi/qla2xxx/qla_iocb.c:508: warning: expecting prototype for > qla2x00_marker(). Prototype was for __qla2x00_marker() instead > > Cc: Nilesh Javali <njavali@marvell.com> > Cc: GR-QLogic-Storage-Upstream@marvell.com > Cc: "James E.J. Bottomley" <jejb@linux.ibm.com> > Cc: "Martin K. Petersen" <martin.petersen@oracle.com> > Cc: linux-scsi@vger.kernel.org > Signed-off-by: Lee Jones <lee.jones@linaro.org> > --- > drivers/scsi/qla2xxx/qla_iocb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c > index 8b41cbaf8535b..e765ee4ce162a 100644 > --- a/drivers/scsi/qla2xxx/qla_iocb.c > +++ b/drivers/scsi/qla2xxx/qla_iocb.c > @@ -491,7 +491,7 @@ qla2x00_start_iocbs(struct scsi_qla_host *vha, struct > req_que *req) > } > > /** > - * qla2x00_marker() - Send a marker IOCB to the firmware. > + * __qla2x00_marker() - Send a marker IOCB to the firmware. > * @vha: HA context > * @qpair: queue pair pointer > * @loop_id: loop ID > -- > 2.27.0 Lee, Thanks for the patch. Ack-by: Nilesh Javali <njavali@marvell.com>
diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c index 8b41cbaf8535b..e765ee4ce162a 100644 --- a/drivers/scsi/qla2xxx/qla_iocb.c +++ b/drivers/scsi/qla2xxx/qla_iocb.c @@ -491,7 +491,7 @@ qla2x00_start_iocbs(struct scsi_qla_host *vha, struct req_que *req) } /** - * qla2x00_marker() - Send a marker IOCB to the firmware. + * __qla2x00_marker() - Send a marker IOCB to the firmware. * @vha: HA context * @qpair: queue pair pointer * @loop_id: loop ID
Fixes the following W=1 kernel build warning(s): drivers/scsi/qla2xxx/qla_iocb.c:508: warning: expecting prototype for qla2x00_marker(). Prototype was for __qla2x00_marker() instead Cc: Nilesh Javali <njavali@marvell.com> Cc: GR-QLogic-Storage-Upstream@marvell.com Cc: "James E.J. Bottomley" <jejb@linux.ibm.com> Cc: "Martin K. Petersen" <martin.petersen@oracle.com> Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/scsi/qla2xxx/qla_iocb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)