path: root/include/linux/psp-sev.h
diff options
authorHerbert Xu <>2020-06-04 18:09:41 +1000
committerHerbert Xu <>2020-06-15 17:38:53 +1000
commit376bd28d03c97b4d53f5797d5f9b3522c8bd4d3d (patch)
tree3ae7da31d52fc61cac88dad077d717924c29d392 /include/linux/psp-sev.h
parentc61e5644c69775ae9d54b86018fca238aca64a9b (diff)
crypto: ccp - Fix sparse warnings in sev-dev
This patch fixes a bunch of sparse warnings in sev-dev where the __user marking is incorrectly handled. Reported-by: kbuild test robot <> Fixes: 7360e4b14350 ("crypto: ccp: Implement SEV_PEK_CERT_IMPORT...") Fixes: e799035609e1 ("crypto: ccp: Implement SEV_PEK_CSR ioctl...") Fixes: 76a2b524a4b1 ("crypto: ccp: Implement SEV_PDH_CERT_EXPORT...") Fixes: d6112ea0cb34 ("crypto: ccp - introduce SEV_GET_ID2 command") Signed-off-by: Herbert Xu <> Reviewed-by: Brijesh Singh <> Acked-by: Tom Lendacky <> Signed-off-by: Herbert Xu <>
Diffstat (limited to 'include/linux/psp-sev.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/psp-sev.h b/include/linux/psp-sev.h
index 7fbc8679145c..49d155cd2dfe 100644
--- a/include/linux/psp-sev.h
+++ b/include/linux/psp-sev.h
@@ -597,7 +597,7 @@ int sev_guest_df_flush(int *error);
int sev_guest_decommission(struct sev_data_decommission *data, int *error);
-void *psp_copy_user_blob(u64 __user uaddr, u32 len);
+void *psp_copy_user_blob(u64 uaddr, u32 len);