diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-21 21:46:40 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-21 21:46:40 +0100 |
commit | 989623c7d687d3996d5676a6e1474dc7f01bf158 (patch) | |
tree | d61396da38dfd0424ab55445dab89a0bf39ce9f2 /drivers/hv/hv_balloon.c | |
parent | mei: remove use of __devexit_p (diff) | |
download | linux-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/hv_balloon.c')
-rw-r--r-- | drivers/hv/hv_balloon.c | 2 |
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; |