diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-21 15:46:40 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-21 15:46:40 -0500 |
commit | 989623c7d687d3996d5676a6e1474dc7f01bf158 (patch) | |
tree | d61396da38dfd0424ab55445dab89a0bf39ce9f2 /drivers/hv | |
parent | 9306a8b0c29e11d823b258f5796353a4fe3e3be3 (diff) |
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.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) | |||
545 | 545 | ||
546 | 546 | ||
547 | 547 | ||
548 | void free_balloon_pages(struct hv_dynmem_device *dm, | 548 | static void free_balloon_pages(struct hv_dynmem_device *dm, |
549 | union dm_mem_page_range *range_array) | 549 | union dm_mem_page_range *range_array) |
550 | { | 550 | { |
551 | int num_pages = range_array->finfo.page_cnt; | 551 | int num_pages = range_array->finfo.page_cnt; |