Re: [tip:x86/boot] x86/boot: Clean up pointer casting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [tip:x86/boot] x86/boot: Clean up pointer casting
- From: Borislav Petkov <bp@xxxxxxxxx>
- Date: Fri, 6 May 2016 12:44:38 +0200
- Cc: Kees Cook <keescook@xxxxxxxxxxxx>, torvalds@xxxxxxxxxxxxxxxxxxxx, hpa@xxxxxxxxx, dyoung@xxxxxxxxxx, tglx@xxxxxxxxxxxxx, luto@xxxxxxxxxx, peterz@xxxxxxxxxxxxx, dvlasenk@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, brgerst@xxxxxxxxx, luto@xxxxxxxxxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx, bhe@xxxxxxxxxx, yinghai@xxxxxxxxxx, vgoyal@xxxxxxxxxx, linux-tip-commits@xxxxxxxxxxxxxxx
- In-reply-to: <20160506103619.GA8998@gmail.com>
- User-agent: Mutt/1.5.24 (2015-08-30)
On Fri, May 06, 2016 at 12:36:19PM +0200, Ingo Molnar wrote:
>
> Hm, your patch throws a lot of warnings during allnoconfig builds:
>
> In file included from arch/x86/boot/compressed/error.c:6:0:
> arch/x86/boot/compressed/misc.h: In function ‘choose_random_location’:
> arch/x86/boot/compressed/misc.h:83:9: warning: return makes pointer from integer
> without a cast [-Wint-conversion]
> return output_ptr;
> ^
Blergh, that's when choose_random_location() is a stub and it needs to
do
return (unsigned char *)output_ptr;
too.
Lemme run all the *config builds on the fixed version before I send you
a v2.
Thanks.
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]