Skip to content

Commit

Permalink
hv: hv_balloon: mark a function static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Nov 21, 2012
1 parent 9306a8b commit 989623c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hv/hv_balloon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 989623c

Please sign in to comment.