xen: Fix config option reference in XEN_PRIVCMD definition
authorLukas Bulwahn <lukas.bulwahn@redhat.com>
Mon, 30 Sep 2024 09:06:50 +0000 (11:06 +0200)
committerJuergen Gross <jgross@suse.com>
Wed, 2 Oct 2024 14:14:30 +0000 (16:14 +0200)
Commit 2fae6bb7be32 ("xen/privcmd: Add new syscall to get gsi from dev")
adds a weak reverse dependency to the config XEN_PRIVCMD definition,
referring to CONFIG_XEN_PCIDEV_BACKEND. In Kconfig files, one refers to
config options without the CONFIG prefix, though. So in its current form,
this does not create the reverse dependency as intended, but is an
attribute with no effect.

Refer to the intended config option XEN_PCIDEV_BACKEND in the XEN_PRIVCMD
definition.

Fixes: 2fae6bb7be32 ("xen/privcmd: Add new syscall to get gsi from dev")
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@redhat.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Message-ID: <20240930090650.429813-1-lukas.bulwahn@redhat.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/xen/Kconfig

index 62035fe16bb8ac1354ea87720c0d0721983b9918..72ddee4c1544df017a71815d31db9b03b37db0a5 100644 (file)
@@ -261,7 +261,7 @@ config XEN_SCSI_BACKEND
 config XEN_PRIVCMD
        tristate "Xen hypercall passthrough driver"
        depends on XEN
-       imply CONFIG_XEN_PCIDEV_BACKEND
+       imply XEN_PCIDEV_BACKEND
        default m
        help
          The hypercall passthrough driver allows privileged user programs to