aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71-e3000/0131-crypto-ccp-Make-function-sev_get_firmware-static.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71-e3000/0131-crypto-ccp-Make-function-sev_get_firmware-static.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71-e3000/0131-crypto-ccp-Make-function-sev_get_firmware-static.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71-e3000/0131-crypto-ccp-Make-function-sev_get_firmware-static.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71-e3000/0131-crypto-ccp-Make-function-sev_get_firmware-static.patch
deleted file mode 100644
index eac185b9..00000000
--- a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71-e3000/0131-crypto-ccp-Make-function-sev_get_firmware-static.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From a602ed3afc5fc4eb529b9a2e0d55096b72f71f1e Mon Sep 17 00:00:00 2001
-From: Wei Yongjun <weiyongjun1@huawei.com>
-Date: Wed, 26 Sep 2018 02:09:23 +0000
-Subject: [PATCH 131/131] crypto: ccp - Make function sev_get_firmware() static
-
-Fixes the following sparse warning:
-
-drivers/crypto/ccp/psp-dev.c:444:5: warning:
- symbol 'sev_get_firmware' was not declared. Should it be static?
-
-Fixes: e93720606efd ("crypto: ccp - Allow SEV firmware to be chosen based on Family and Model")
-Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
-Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-Signed-off-by: Sudheesh Mavila <sudheesh.mavila@amd.com>
----
- drivers/crypto/ccp/psp-dev.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/crypto/ccp/psp-dev.c b/drivers/crypto/ccp/psp-dev.c
-index 3571aa2..34b2dc6 100644
---- a/drivers/crypto/ccp/psp-dev.c
-+++ b/drivers/crypto/ccp/psp-dev.c
-@@ -441,7 +441,8 @@ static int sev_get_api_version(void)
- return 0;
- }
-
--int sev_get_firmware(struct device *dev, const struct firmware **firmware)
-+static int sev_get_firmware(struct device *dev,
-+ const struct firmware **firmware)
- {
- char fw_name_specific[SEV_FW_NAME_SIZE];
- char fw_name_subset[SEV_FW_NAME_SIZE];
---
-2.7.4
-