From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757979AbcEFKg1 (ORCPT ); Fri, 6 May 2016 06:36:27 -0400 Received: from mail-wm0-f53.google.com ([74.125.82.53]:37792 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752123AbcEFKgZ (ORCPT ); Fri, 6 May 2016 06:36:25 -0400 Date: Fri, 6 May 2016 12:36:19 +0200 From: Ingo Molnar To: Borislav Petkov Cc: Kees Cook , torvalds@linux-foundation.org, hpa@zytor.com, dyoung@redhat.com, tglx@linutronix.de, luto@kernel.org, peterz@infradead.org, dvlasenk@redhat.com, linux-kernel@vger.kernel.org, brgerst@gmail.com, luto@amacapital.net, akpm@linux-foundation.org, bhe@redhat.com, yinghai@kernel.org, vgoyal@redhat.com, linux-tip-commits@vger.kernel.org Subject: Re: [tip:x86/boot] x86/boot: Clean up pointer casting Message-ID: <20160506103619.GA8998@gmail.com> References: <1462486436-3707-2-git-send-email-keescook@chromium.org> <20160506085300.GE24044@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160506085300.GE24044@pd.tnic> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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; ^ In file included from arch/x86/boot/compressed/early_serial_console.c:1: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; ^ CC arch/x86/boot/compressed/misc.o In file included from arch/x86/boot/compressed/cmdline.c:1: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; ^ In file included from arch/x86/boot/compressed/misc.c:14: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; Thanks, Ingo