Skip to content

Commit dc39cbb

Browse files
JasonYanHwmstsirkin
authored andcommitted
virtio-balloon: make virtballoon_free_page_report() static
Fix the following sparse warning: drivers/virtio/virtio_balloon.c:168:5: warning: symbol 'virtballoon_free_page_report' was not declared. Should it be static? Reported-by: Hulk Robot <[email protected]> Signed-off-by: Jason Yan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]>
1 parent ac8b85f commit dc39cbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/virtio/virtio_balloon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ static void tell_host(struct virtio_balloon *vb, struct virtqueue *vq)
165165

166166
}
167167

168-
int virtballoon_free_page_report(struct page_reporting_dev_info *pr_dev_info,
168+
static int virtballoon_free_page_report(struct page_reporting_dev_info *pr_dev_info,
169169
struct scatterlist *sg, unsigned int nents)
170170
{
171171
struct virtio_balloon *vb =

0 commit comments

Comments
 (0)