Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

misc: nsm: remove selecting the non-existing config CBOR

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>
Reviewed-by: Alexander Graf <graf@amazon.com>
Link: https://lore.kernel.org/r/20231211074242.22999-1-lukas.bulwahn@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Lukas Bulwahn and committed by
Greg Kroah-Hartman
1a737d5e 1b775e61

-1
-1
drivers/misc/Kconfig
··· 566 566 tristate "Nitro (Enclaves) Security Module support" 567 567 depends on VIRTIO 568 568 select HW_RANDOM 569 - select CBOR 570 569 help 571 570 This driver provides support for the Nitro Security Module 572 571 in AWS EC2 Nitro based Enclaves. The driver exposes a /dev/nsm