summaryrefslogtreecommitdiffstats
path: root/drivers/virtio/virtio_balloon.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-01-23 07:24:35 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-23 07:24:35 +0100
commit93b05cba8ed52a751da9c4c7da6c97bc514bec77 (patch)
tree7768ff8c9abfe54b1ac9f6c6ecb2e5c0f91ed507 /drivers/virtio/virtio_balloon.c
parentMerge tag 'stable/for-linus-3.14-rc0-tag' of git://git.kernel.org/pub/scm/lin... (diff)
parentdrivers: virtio: Mark function virtballoon_migratepage() as static in virtio_... (diff)
downloadlinux-93b05cba8ed52a751da9c4c7da6c97bc514bec77.tar.xz
linux-93b05cba8ed52a751da9c4c7da6c97bc514bec77.zip
Merge tag 'virtio-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux
Pull virtio update from Rusty Russell: "A few simple fixes. Quiet cycle" * tag 'virtio-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux: drivers: virtio: Mark function virtballoon_migratepage() as static in virtio_balloon.c virtio-scsi: Fix hotcpu_notifier use-after-free with virtscsi_freeze virtio: pci: remove unnecessary pci_set_drvdata()
Diffstat (limited to 'drivers/virtio/virtio_balloon.c')
-rw-r--r--drivers/virtio/virtio_balloon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c
index 5c4a95b516cf..34bdabaecbd6 100644
--- a/drivers/virtio/virtio_balloon.c
+++ b/drivers/virtio/virtio_balloon.c
@@ -369,7 +369,7 @@ static const struct address_space_operations virtio_balloon_aops;
* This function preforms the balloon page migration task.
* Called through balloon_mapping->a_ops->migratepage
*/
-int virtballoon_migratepage(struct address_space *mapping,
+static int virtballoon_migratepage(struct address_space *mapping,
struct page *newpage, struct page *page, enum migrate_mode mode)
{
struct balloon_dev_info *vb_dev_info = balloon_page_device(page);