Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1476351
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] [SCSI] aacraid: mark aac_src_select_comm() static |
| Date | 2016-09-05 14:00 +0200 |
| Message-ID | <se0Jc-3fd-49@gated-at.bofh.it> (permalink) |
| References | <sdzpD-7qA-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sunday, September 4, 2016 2:47:10 PM CEST Baoyou Xie wrote: > 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'. > > Acked-by: Arnd Bergmann <arnd@arndb.de>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] [SCSI] aacraid: mark aac_src_select_comm() static Baoyou Xie <baoyou.xie@linaro.org> - 2016-09-04 08:50 +0200 Re: [PATCH] [SCSI] aacraid: mark aac_src_select_comm() static Arnd Bergmann <arnd@arndb.de> - 2016-09-05 13:50 +0200 Re: [PATCH] [SCSI] aacraid: mark aac_src_select_comm() static Arnd Bergmann <arnd@arndb.de> - 2016-09-05 14:00 +0200 Re: [PATCH] [SCSI] aacraid: mark aac_src_select_comm() static "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-09-09 13:20 +0200
csiph-web