]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/PVH: avoid 32-bit build warning when obtaining VGA console info
authorJan Beulich <jbeulich@suse.com>
Tue, 21 Mar 2023 08:03:26 +0000 (09:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Apr 2023 10:10:58 +0000 (12:10 +0200)
commitcafb47f5f59bf372f93ebfaab129a0e712137345
tree9b85b2b7ef142326026d3733296d300412fc419f
parent9f291f2348ed65eef879da461acc732e505b389f
x86/PVH: avoid 32-bit build warning when obtaining VGA console info

commit aadbd07ff8a75ed342388846da78dfaddb8b106a upstream.

In the commit referenced below I failed to pay attention to this code
also being buildable as 32-bit. Adjust the type of "ret" - there's no
real need for it to be wider than 32 bits.

Fixes: 934ef33ee75c ("x86/PVH: obtain VGA console info in Dom0")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/2d2193ff-670b-0a27-e12d-2c5c4c121c79@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/xen/enlighten_pvh.c