Re: [PATCH] drivers: virtio: Make out_del_vqs dependent on BALLOON_COMPACTION

From: Michael S. Tsirkin
Date: Sun Mar 08 2020 - 16:59:44 EST


On Sun, Mar 08, 2020 at 08:38:19PM +0100, David Hildenbrand wrote:
>
>
> > Am 06.03.2020 um 11:56 schrieb Vincenzo Frascino <vincenzo.frascino@xxxxxxx>:
> >
> > ïout_del_vqs label is currently used only when BALLOON_COMPACTION
> > configuration option is enabled. Having it disabled triggers the
> > following warning at compile time:
> >
> > drivers/virtio/virtio_balloon.c: In function âvirtballoon_probeâ:
> > drivers/virtio/virtio_balloon.c:963:1: warning: label âout_del_vqsâ
> > defined but not used [-Wunused-label]
> > 963 | out_del_vqs:
> > | ^~~~~~~~~~~
> >
> > Make out_del_vqs dependent on BALLOON_COMPACTION to address the
> > issue.
> >
> > Cc: "Michael S. Tsirkin" <mst@xxxxxxxxxx>
> > Cc: Jason Wang <jasowang@xxxxxxxxxx>
> > Signed-off-by: Vincenzo Frascino <vincenzo.frascino@xxxxxxx>
>
> I think this is now the third patch on the list that tries to fix this warning.
>
> Michael, can we finally queue one of these (or is there one in -next already - did not check)?
>
> Thanks

It's queued in my tree (and will be in next eventually), I just didn't
send it to Linus yet.
Sorry about the delay.

--
MST