Messages in this thread | | | From | David Carroll <> | Subject | RE: [PATCH] [SCSI] aacraid: mark aac_src_select_comm() static | Date | Wed, 7 Sep 2016 18:03:59 +0000 |
| |
> > We get 1 warning when building kernel with W=1: > drivers/scsi/aacraid/src.c:616:5: warning: no previous prototype for > 'aac_src_select_comm' [-Wmissing-prototypes] > > In fact, this function is only used in the file in which it is declared and don't need > a declaration, but can be made static. > so this patch marks this function with 'static'. > > Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org> > --- > drivers/scsi/aacraid/src.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Dave Carroll <david.carroll@microsemi.com>
| |