Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 989623c7 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

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: default avatarXie ChanglongX <changlongx.xie@intel.com>
Cc: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9306a8b0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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)
			 union dm_mem_page_range *range_array)
{
{
	int num_pages = range_array->finfo.page_cnt;
	int num_pages = range_array->finfo.page_cnt;