summaryrefslogtreecommitdiffstats
path: root/drivers/powercap
diff options
context:
space:
mode:
authorHaowen Bai <baihaowen@meizu.com>2022-04-14 12:04:17 +0200
committerBorislav Petkov <bp@suse.de>2022-04-14 13:53:35 +0200
commit101826e02ac6c829bf4e768295e79ae9c37b4b2a (patch)
treec5831be4756047be9cfb5ab6f5abee145d08cc90 /drivers/powercap
parentvirt: sevguest: Fix return value check in alloc_shared_pages() (diff)
downloadlinux-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/powercap')
0 files changed, 0 insertions, 0 deletions