diff options
author | Haowen Bai <baihaowen@meizu.com> | 2022-04-14 12:04:17 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-04-14 13:53:35 +0200 |
commit | 101826e02ac6c829bf4e768295e79ae9c37b4b2a (patch) | |
tree | c5831be4756047be9cfb5ab6f5abee145d08cc90 /drivers/mailbox/mailbox.c | |
parent | virt: sevguest: Fix return value check in alloc_shared_pages() (diff) | |
download | linux-101826e02ac6c829bf4e768295e79ae9c37b4b2a.tar.xz linux-101826e02ac6c829bf4e768295e79ae9c37b4b2a.zip |
virt: sevguest: Fix bool function returning negative value
The function enc_payload() is wrongly declared bool but returns an
integer value. Correct it.
[ bp: Massage commit message. ]
Fixes: fce96cf04430 ("virt: Add SEV-SNP guest driver")
Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/1649930657-10837-1-git-send-email-baihaowen@meizu.com
Diffstat (limited to 'drivers/mailbox/mailbox.c')
0 files changed, 0 insertions, 0 deletions