Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751928AbbGaMuM (ORCPT ); Fri, 31 Jul 2015 08:50:12 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:40416 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751771AbbGaMuI (ORCPT ); Fri, 31 Jul 2015 08:50:08 -0400 Date: Fri, 31 Jul 2015 14:50:06 +0200 From: Pavel Machek To: joeyli Cc: "Lee, Chun-Yi" , linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, linux-pm@vger.kernel.org, "Rafael J. Wysocki" , Matthew Garrett , Len Brown , Josh Boyer , Vojtech Pavlik , Matt Fleming , Jiri Kosina , "H. Peter Anvin" Subject: Re: [RFC PATCH 03/16] x86/boot: Public getting random boot function Message-ID: <20150731125006.GB5728@amd> References: <1437056730-15247-1-git-send-email-jlee@suse.com> <1437056730-15247-4-git-send-email-jlee@suse.com> <20150728122133.GA12681@amd> <20150731105209.GF13113@linux-rxt1.site> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150731105209.GF13113@linux-rxt1.site> 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 Content-Length: 956 Lines: 29 On Fri 2015-07-31 18:52:09, joeyli wrote: > On Tue, Jul 28, 2015 at 02:21:33PM +0200, Pavel Machek wrote: > > Hi! > > > > > int cmdline_find_option_bool(const char *option); > > > #endif > > > > > > +#if CONFIG_RANDOMIZE_BASE > > > > Not ifdef? > > > > > +extern u16 i8254(void); > > > > That's rather poor name for global function... > > This i8254 function only used by aslr and efi_random. > I will keep this name for do not change codes in aslr for naming. No. That's not suitable function name for global function. And you are making it global. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/