summaryrefslogtreecommitdiffstats
path: root/drivers/hv
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-21 21:46:40 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-21 21:46:40 +0100
commit989623c7d687d3996d5676a6e1474dc7f01bf158 (patch)
treed61396da38dfd0424ab55445dab89a0bf39ce9f2 /drivers/hv
parentmei: remove use of __devexit_p (diff)
downloadlinux-989623c7d687d3996d5676a6e1474dc7f01bf158.tar.xz
linux-989623c7d687d3996d5676a6e1474dc7f01bf158.zip
hv: hv_balloon: mark a function static
This resolves the following sparse warning: drivers/hv/hv_balloon.c:548:6: sparse: symbol 'free_balloon_pages' was not declared. Should it be static? Reported-by: Xie ChanglongX <changlongx.xie@intel.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv')
-rw-r--r--drivers/hv/hv_balloon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c
index bbc497373aaf..f6c0011a0337 100644
--- a/drivers/hv/hv_balloon.c
+++ b/drivers/hv/hv_balloon.c
@@ -545,7 +545,7 @@ static void post_status(struct hv_dynmem_device *dm)
-void free_balloon_pages(struct hv_dynmem_device *dm,
+static void free_balloon_pages(struct hv_dynmem_device *dm,
union dm_mem_page_range *range_array)
{
int num_pages = range_array->finfo.page_cnt;