xen: Fix config option reference in XEN_PRIVCMD definition
Subsystems (2)
PATCH 1/1 xen: Fix config option reference in XEN_PRIVCMD definition
From: Lukas Bulwahn <[email protected]>
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.
--- drivers/xen/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/xen/Kconfig +1 -1
@@ -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
Signature · 1 line
2.46.1
Quoted 9 lines · Lukas Bulwahn
From: Lukas Bulwahn <[email protected]>
Commit
2fae6bb7be32("xen/privcmd: Add new syscall to get gsi from dev") adds a weak reverse dependency to the configXEN_PRIVCMDdefinition, referring toCONFIG_XEN_PCIDEV_BACKEND. InKconfigfiles, 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.
Quoted 5 lines
Refer to the intended config option
XEN_PCIDEV_BACKENDin theXEN_PRIVCMDdefinition.Fixes 2fae6bb7be32 ("xen/privcmd: Add new syscall to get gsi from dev")Signed-off-by Lukas Bulwahn <[email protected]>
Thanks for the fix!
Juergen