diff mbox series

vfio: Use config not menuconfig for VFIO_NOIOMMU

Message ID 0-v1-3f0b685c3679+478-vfio_menuconfig_jgg@nvidia.com (mailing list archive)
State New, archived
Headers show
Series vfio: Use config not menuconfig for VFIO_NOIOMMU | expand

Commit Message

Jason Gunthorpe July 16, 2021, 6:39 p.m. UTC
VFIO_NOIOMMU is supposed to be an element in the VFIO menu, not start
a new menu. Correct this copy-paste mistake.

Fixes: 03a76b60f8ba ("vfio: Include No-IOMMU mode")
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
---
 drivers/vfio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Just a minor loose patch to get out of the way

Comments

Cornelia Huck July 19, 2021, 6:19 a.m. UTC | #1
On Fri, Jul 16 2021, Jason Gunthorpe <jgg@nvidia.com> wrote:

> VFIO_NOIOMMU is supposed to be an element in the VFIO menu, not start
> a new menu. Correct this copy-paste mistake.
>
> Fixes: 03a76b60f8ba ("vfio: Include No-IOMMU mode")
> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
> ---
>  drivers/vfio/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Alex Williamson Aug. 3, 2021, 6:45 p.m. UTC | #2
On Fri, 16 Jul 2021 15:39:12 -0300
Jason Gunthorpe <jgg@nvidia.com> wrote:

> VFIO_NOIOMMU is supposed to be an element in the VFIO menu, not start
> a new menu. Correct this copy-paste mistake.
> 
> Fixes: 03a76b60f8ba ("vfio: Include No-IOMMU mode")
> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
> ---
>  drivers/vfio/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Just a minor loose patch to get out of the way
> 
> diff --git a/drivers/vfio/Kconfig b/drivers/vfio/Kconfig
> index 67d0bf4efa1606..e44bf736e2b222 100644
> --- a/drivers/vfio/Kconfig
> +++ b/drivers/vfio/Kconfig
> @@ -29,7 +29,7 @@ menuconfig VFIO
>  
>  	  If you don't know what to do here, say N.
>  
> -menuconfig VFIO_NOIOMMU
> +config VFIO_NOIOMMU
>  	bool "VFIO No-IOMMU support"
>  	depends on VFIO
>  	help

Applied to vfio next branch for v5.15 with Connie's R-b.  Thanks,

Alex
diff mbox series

Patch

diff --git a/drivers/vfio/Kconfig b/drivers/vfio/Kconfig
index 67d0bf4efa1606..e44bf736e2b222 100644
--- a/drivers/vfio/Kconfig
+++ b/drivers/vfio/Kconfig
@@ -29,7 +29,7 @@  menuconfig VFIO
 
 	  If you don't know what to do here, say N.
 
-menuconfig VFIO_NOIOMMU
+config VFIO_NOIOMMU
 	bool "VFIO No-IOMMU support"
 	depends on VFIO
 	help