Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1474289
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] virtio: mark vring_dma_dev() static |
| Date | 2016-09-01 13:20 +0200 |
| Message-ID | <scych-16c-11@gated-at.bofh.it> (permalink) |
| References | <scy2C-11X-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thursday, September 1, 2016 7:02:57 PM CEST Baoyou Xie wrote: > We get 1 warning when building kernel with W=1: > drivers/virtio/virtio_ring.c:170:16: warning: no previous prototype for 'vring_dma_dev' [-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> > Acked-by: Arnd Bergmann <arnd@arndb.de>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] virtio: mark vring_dma_dev() static Baoyou Xie <baoyou.xie@linaro.org> - 2016-09-01 13:10 +0200 Re: [PATCH] virtio: mark vring_dma_dev() static Arnd Bergmann <arnd@arndb.de> - 2016-09-01 13:20 +0200
csiph-web