Commit 9cbaff1
committed
crypto: ccp - Use int type to store negative error codes
JIRA: https://issues.redhat.com/browse/RHEL-106910
Upstream Status: merged into herbert/crypto-2.6.git
commit e002780
Author: Qianfeng Rong <rongqianfeng@vivo.com>
Date: Wed Sep 3 21:25:35 2025 +0800
crypto: ccp - Use int type to store negative error codes
Change the 'ret' variable in __sev_do_cmd_locked() from unsigned int to
int, as it needs to store negative error codes.
No effect on runtime.
Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Vladis Dronov <vdronov@redhat.com>1 parent 2b7d2e6 commit 9cbaff1
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
847 | 847 | | |
848 | 848 | | |
849 | 849 | | |
850 | | - | |
| 850 | + | |
851 | 851 | | |
852 | 852 | | |
| 853 | + | |
853 | 854 | | |
854 | 855 | | |
855 | 856 | | |
| |||
0 commit comments