Re: [PATCH] drivers: virtio: Mark function virtballoon_migratepage() as static in virtio_balloon.c

2013-12-16 Thread Rusty Russell
"Michael S. Tsirkin" writes: > On Mon, Dec 16, 2013 at 06:23:38AM -0800, Josh Triplett wrote: >> On Mon, Dec 16, 2013 at 04:54:08PM +0530, Rashika Kheria wrote: >> > Mark the function virtballoon_migratepage() as static in >> > virtio_balloon.c because it is not used outside this file. >> > >> >

Re: [PATCH] drivers: virtio: Mark function virtballoon_migratepage() as static in virtio_balloon.c

2013-12-16 Thread Michael S. Tsirkin
On Mon, Dec 16, 2013 at 06:23:38AM -0800, Josh Triplett wrote: > On Mon, Dec 16, 2013 at 04:54:08PM +0530, Rashika Kheria wrote: > > Mark the function virtballoon_migratepage() as static in > > virtio_balloon.c because it is not used outside this file. > > > > This eliminates the following warning

Re: [PATCH] drivers: virtio: Mark function virtballoon_migratepage() as static in virtio_balloon.c

2013-12-16 Thread Josh Triplett
On Mon, Dec 16, 2013 at 04:54:08PM +0530, Rashika Kheria wrote: > Mark the function virtballoon_migratepage() as static in > virtio_balloon.c because it is not used outside this file. > > This eliminates the following warning in virtio_balloon.c: > drivers/virtio/virtio_balloon.c:372:5: warning: n

[PATCH] drivers: virtio: Mark function virtballoon_migratepage() as static in virtio_balloon.c

2013-12-16 Thread Rashika Kheria
Mark the function virtballoon_migratepage() as static in virtio_balloon.c because it is not used outside this file. This eliminates the following warning in virtio_balloon.c: drivers/virtio/virtio_balloon.c:372:5: warning: no previous prototype for ‘virtballoon_migratepage’ [-Wmissing-prototypes]