Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1486635

Re: [PATCH] megaraid_sas: clean function declarations in megaraid_sas_base.c up

From "Martin K. Petersen" <martin.petersen@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH] megaraid_sas: clean function declarations in megaraid_sas_base.c up
Date 2016-09-19 18:10 +0200
Message-ID <sj9iN-7Bu-15@gated-at.bofh.it> (permalink)
References <siJ50-7Wy-11@gated-at.bofh.it>
Organization Oracle Corporation

Show all headers | View raw


>>>>> "Baoyou" == Baoyou Xie <baoyou.xie@linaro.org> writes:

Baoyou> We get a few warnings when building kernel with W=1:
Baoyou> drivers/scsi/megaraid/megaraid_sas_fusion.c:281:1: warning: no
Baoyou> previous prototype for 'megasas_free_cmds_fusion'
Baoyou> [-Wmissing-prototypes]
Baoyou> drivers/scsi/megaraid/megaraid_sas_fusion.c:714:1: warning: no
Baoyou> previous prototype for 'megasas_ioc_init_fusion'
Baoyou> [-Wmissing-prototypes] ....

Baoyou> In fact, these functions are declared in
Baoyou> drivers/scsi/megaraid/megaraid_sas_base.c, but should be
Baoyou> declared in a header file, thus can be recognized in other file.

Baoyou> So this patch adds the declarations into
Baoyou> drivers/scsi/megaraid/megaraid_sas_fusion.h.

Applied to 4.9/scsi-queue.

-- 
Martin K. Petersen	Oracle Linux Engineering

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] megaraid_sas: clean function declarations in megaraid_sas_base.c up Baoyou Xie <baoyou.xie@linaro.org> - 2016-09-18 14:10 +0200
  RE: [PATCH] megaraid_sas: clean function declarations in  megaraid_sas_base.c up Sumit Saxena <sumit.saxena@broadcom.com> - 2016-09-19 16:00 +0200
  Re: [PATCH] megaraid_sas: clean function declarations in megaraid_sas_base.c up "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-09-19 18:10 +0200

csiph-web