Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

scsi: qla2xxx: Declare qla2xxx_mqueuecommand() static

Prevent that a later patch that modifies the qla2xxx_mqueuecommand()
declaration triggers the following checkpatch warning: "externs should
be avoided in .c files".

Cc: Nilesh Javali <njavali@marvell.com>
Cc: GR-QLogic-Storage-Upstream@marvell.com
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Link: https://patch.msgid.link/20260115210357.2501991-5-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Bart Van Assche and committed by
Martin K. Petersen
5612404d a7849110

+2 -2
+2 -2
drivers/scsi/qla2xxx/qla_os.c
··· 402 402 struct req_que **, struct rsp_que **); 403 403 static void qla2x00_free_fw_dump(struct qla_hw_data *); 404 404 static void qla2x00_mem_free(struct qla_hw_data *); 405 - int qla2xxx_mqueuecommand(struct Scsi_Host *host, struct scsi_cmnd *cmd, 405 + static int qla2xxx_mqueuecommand(struct Scsi_Host *host, struct scsi_cmnd *cmd, 406 406 struct qla_qpair *qpair); 407 407 408 408 /* -------------------------------------------------------------------------- */ ··· 981 981 } 982 982 983 983 /* For MQ supported I/O */ 984 - int 984 + static int 985 985 qla2xxx_mqueuecommand(struct Scsi_Host *host, struct scsi_cmnd *cmd, 986 986 struct qla_qpair *qpair) 987 987 {