diff options
author | Tom Lendacky <thomas.lendacky@amd.com> | 2022-04-20 09:14:14 -0500 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-04-27 13:29:56 +0200 |
commit | d63670d23e60f00210635ca7c62bce27bec55f1b (patch) | |
tree | 01974e37012d9006b033213ed636cf11a57c4648 /drivers/virt/coco | |
parent | 2bf93ffbb97e0614cfc431d2ea33b7eae7481eb2 (diff) |
virt: sevguest: Rename the sevguest dir and files to sev-guest
Rename the drivers/virt/coco/sevguest directory and files to sev-guest
so as to match the driver name.
[ bp: Rename Documentation/virt/coco/sevguest.rst too, as reported by sfr:
https://lore.kernel.org/r/20220427101059.3bf55262@canb.auug.org.au ]
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/2f5c9cb16e3a67599c8e3170f6c72c8712c47d53.1650464054.git.thomas.lendacky@amd.com
Diffstat (limited to 'drivers/virt/coco')
-rw-r--r-- | drivers/virt/coco/sev-guest/Kconfig (renamed from drivers/virt/coco/sevguest/Kconfig) | 2 | ||||
-rw-r--r-- | drivers/virt/coco/sev-guest/Makefile (renamed from drivers/virt/coco/sevguest/Makefile) | 2 | ||||
-rw-r--r-- | drivers/virt/coco/sev-guest/sev-guest.c (renamed from drivers/virt/coco/sevguest/sevguest.c) | 8 | ||||
-rw-r--r-- | drivers/virt/coco/sev-guest/sev-guest.h (renamed from drivers/virt/coco/sevguest/sevguest.h) | 0 |
4 files changed, 6 insertions, 6 deletions
diff --git a/drivers/virt/coco/sevguest/Kconfig b/drivers/virt/coco/sev-guest/Kconfig index 74ca1fe09437..f9db0799ae67 100644 --- a/drivers/virt/coco/sevguest/Kconfig +++ b/drivers/virt/coco/sev-guest/Kconfig @@ -11,4 +11,4 @@ config SEV_GUEST userspace interface to communicate with the PSP to request the attestation report and more. - If you choose 'M' here, this module will be called sevguest. + If you choose 'M' here, this module will be called sev-guest. diff --git a/drivers/virt/coco/sevguest/Makefile b/drivers/virt/coco/sev-guest/Makefile index b1ffb2b4177b..63d67c27723a 100644 --- a/drivers/virt/coco/sevguest/Makefile +++ b/drivers/virt/coco/sev-guest/Makefile @@ -1,2 +1,2 @@ # SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_SEV_GUEST) += sevguest.o +obj-$(CONFIG_SEV_GUEST) += sev-guest.o diff --git a/drivers/virt/coco/sevguest/sevguest.c b/drivers/virt/coco/sev-guest/sev-guest.c index 18c3231a816d..90ce16b6e05f 100644 --- a/drivers/virt/coco/sevguest/sevguest.c +++ b/drivers/virt/coco/sev-guest/sev-guest.c @@ -25,7 +25,7 @@ #include <asm/svm.h> #include <asm/sev.h> -#include "sevguest.h" +#include "sev-guest.h" #define DEVICE_NAME "sev-guest" #define AAD_LEN 48 @@ -724,9 +724,9 @@ static int __exit sev_guest_remove(struct platform_device *pdev) } /* - * This driver is a common SEV guest interface driver and meant to support - * any SEV guest API. As such, even though it has been introduced along with - * the SEV-SNP support, it is named "sev-guest". + * This driver is meant to be a common SEV guest interface driver and to + * support any SEV guest API. As such, even though it has been introduced + * with the SEV-SNP support, it is named "sev-guest". */ static struct platform_driver sev_guest_driver = { .remove = __exit_p(sev_guest_remove), diff --git a/drivers/virt/coco/sevguest/sevguest.h b/drivers/virt/coco/sev-guest/sev-guest.h index d39bdd013765..d39bdd013765 100644 --- a/drivers/virt/coco/sevguest/sevguest.h +++ b/drivers/virt/coco/sev-guest/sev-guest.h |