Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754896AbdGUXnd (ORCPT ); Fri, 21 Jul 2017 19:43:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48438 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753509AbdGUXnb (ORCPT ); Fri, 21 Jul 2017 19:43:31 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 78495C057FA5 Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=bhe@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 78495C057FA5 Date: Sat, 22 Jul 2017 07:43:27 +0800 From: Baoquan He To: Ingo Molnar Cc: linux-kernel@vger.kernel.org, x86@kernel.org, keescook@chromium.org, matt@codeblueprint.co.uk, tglx@linutronix.de, hpa@zytor.com, izumi.taku@jp.fujitsu.com, fanc.fnst@cn.fujitsu.com, thgarnie@google.com, n-horiguchi@ah.jp.nec.com Subject: Re: [PATCH v6 RESEND] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions Message-ID: <20170721234327.GA24530@x1> References: <1500542189-15779-1-git-send-email-bhe@redhat.com> <20170721103757.hc74czr3mfunrv6c@gmail.com> <20170721131956.GK2344@x1> <20170721173753.54mn7udl6byzq2yh@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170721173753.54mn7udl6byzq2yh@gmail.com> User-Agent: Mutt/1.7.0 (2016-08-17) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Fri, 21 Jul 2017 23:43:31 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 779 Lines: 23 On 07/21/17 at 07:37pm, Ingo Molnar wrote: > > * Baoquan He wrote: > > > > > +static inline bool process_efi_entries(unsigned long minimum, > > > > + unsigned long image_size) > > > > > > ugly linebreak again ... > > > > The whole line is more than 80. I break the line and use tab and space > > to make it align with above 'unsigned long minimum'. Don't know why it > > becomes messy in patch. Will check and try again. > > Then make the linebreak less ugly, or ignore the checkpatch warning! > > This commonly used pattern: > > static inline bool > process_efi_entries(unsigned long minimum, unsigned long image_size) > > looks a lot better than the function parameter list broken in the middle. Got it, will use this one. Thanks a lot!