From: Kuninori Morimoto Date: Thu, 13 Nov 2025 02:25:26 +0000 (+0000) Subject: um: drivers: virtio: use string choices helper X-Git-Tag: v6.19-rc1~104^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54618003a145aeadc2381159bde80f9761cce16c;p=thirdparty%2Fkernel%2Flinux.git um: drivers: virtio: use string choices helper Remove hard-coded strings by using the string helper functions Signed-off-by: Kuninori Morimoto Link: https://patch.msgid.link/87h5uywtwp.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Johannes Berg --- diff --git a/arch/um/drivers/virtio_uml.c b/arch/um/drivers/virtio_uml.c index de7867ae220d0..6cf1152a1a4e6 100644 --- a/arch/um/drivers/virtio_uml.c +++ b/arch/um/drivers/virtio_uml.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include @@ -1151,8 +1152,7 @@ void virtio_uml_set_no_vq_suspend(struct virtio_device *vdev, return; vu_dev->no_vq_suspend = no_vq_suspend; - dev_info(&vdev->dev, "%sabled VQ suspend\n", - no_vq_suspend ? "dis" : "en"); + dev_info(&vdev->dev, "%s VQ suspend\n", str_disabled_enabled(no_vq_suspend)); } static void vu_of_conn_broken(struct work_struct *wk)