mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] misc: nsm: remove selecting the non-existing config CBOR
@ 2023-12-11  7:42 Lukas Bulwahn
  2023-12-11  9:47 ` Alexander Graf
  0 siblings, 1 reply; 2+ messages in thread
From: Lukas Bulwahn @ 2023-12-11  7:42 UTC (permalink / raw)
  To: Alexander Graf, aws-nitro-enclaves-devel, Arnd Bergmann,
	Greg Kroah-Hartman
  Cc: kernel-janitors, linux-kernel, Lukas Bulwahn

Commit b9873755a6c8 ("misc: Add Nitro Secure Module driver") adds Nitro
Security Module support, which selects the non-existing config CBOR.

In the development of the commit, there was initially some code for CBOR
independent of the driver, and the driver included this code with the line
'select CBOR'. This code for CBOR was later reduced to its bare minimum of
functionality and included into the driver itself. The select CBOR remained
unnoticed and was left behind without having any further purpose.

Remove selecting the non-existing config CBOR.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
 drivers/misc/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 8932b6cf9595..4fb291f0bf7c 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -566,7 +566,6 @@ config NSM
 	tristate "Nitro (Enclaves) Security Module support"
 	depends on VIRTIO
 	select HW_RANDOM
-	select CBOR
 	help
 	  This driver provides support for the Nitro Security Module
 	  in AWS EC2 Nitro based Enclaves. The driver exposes a /dev/nsm
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] misc: nsm: remove selecting the non-existing config CBOR
  2023-12-11  7:42 [PATCH] misc: nsm: remove selecting the non-existing config CBOR Lukas Bulwahn
@ 2023-12-11  9:47 ` Alexander Graf
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Graf @ 2023-12-11  9:47 UTC (permalink / raw)
  To: Lukas Bulwahn, aws-nitro-enclaves-devel, Arnd Bergmann,
	Greg Kroah-Hartman
  Cc: kernel-janitors, linux-kernel


On 11.12.23 08:42, Lukas Bulwahn wrote:
> Commit b9873755a6c8 ("misc: Add Nitro Secure Module driver") adds Nitro
> Security Module support, which selects the non-existing config CBOR.
>
> In the development of the commit, there was initially some code for CBOR
> independent of the driver, and the driver included this code with the line
> 'select CBOR'. This code for CBOR was later reduced to its bare minimum of
> functionality and included into the driver itself. The select CBOR remained
> unnoticed and was left behind without having any further purpose.
>
> Remove selecting the non-existing config CBOR.
>
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>


Yikes. Thanks for the catch!

Reviewed-by: Alexander Graf <graf@amazon.com>


Alex


> ---
>   drivers/misc/Kconfig | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
> index 8932b6cf9595..4fb291f0bf7c 100644
> --- a/drivers/misc/Kconfig
> +++ b/drivers/misc/Kconfig
> @@ -566,7 +566,6 @@ config NSM
>          tristate "Nitro (Enclaves) Security Module support"
>          depends on VIRTIO
>          select HW_RANDOM
> -       select CBOR
>          help
>            This driver provides support for the Nitro Security Module
>            in AWS EC2 Nitro based Enclaves. The driver exposes a /dev/nsm
> --
> 2.17.1
>



Amazon Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss
Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B
Sitz: Berlin
Ust-ID: DE 289 237 879



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-11  9:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-11  7:42 [PATCH] misc: nsm: remove selecting the non-existing config CBOR Lukas Bulwahn
2023-12-11  9:47 ` Alexander Graf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®