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: Ingo Molnar <mingo@xxxxxxxxxx>
- Date: Fri, 6 May 2016 12:10:48 +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: <20160506085300.GE24044@pd.tnic>
- User-agent: Mutt/1.5.23 (2014-03-12)
* Borislav Petkov <bp@xxxxxxxxx> wrote:
> This can be simplified even further:
>
> ---
> From: Borislav Petkov <bp@xxxxxxx>
> Date: Fri, 6 May 2016 10:43:21 +0200
> Subject: [PATCH] x86/boot: Simplify pointer casting in
> choose_random_location()
>
> Pass them down as unsigned long directly and get rid of more casting and
> assignments.
>
> Signed-off-by: Borislav Petkov <bp@xxxxxxx>
> Cc: Kees Cook <keescook@xxxxxxxxxxxx>
> arch/x86/boot/compressed/misc.h | 8 ++++----
> 3 files changed, 12 insertions(+), 16 deletions(-)
Great, thanks!
Ingo
--
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]