Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp206378yba; Thu, 2 May 2019 23:41:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqy5+MRF470PS3BKO2fdpxfOCsj6/92oE1QvZcVTDyjW9mT7JzaLT1Wt2QmNjz9ecpK0G3CX X-Received: by 2002:a63:2d41:: with SMTP id t62mr8414084pgt.113.1556865685462; Thu, 02 May 2019 23:41:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556865685; cv=none; d=google.com; s=arc-20160816; b=y3HBuOO2CLcvcSaris0dAN5eEpCPMzn6aoSxOp9HKHWGcNrusqS0jIQGCKFBXXtAKs ssteiu/TR7JzsQhgOyxQmiqy2Gt2EYylLCcxs+k319qdBWkjxzArIDPvGcrtg/03DLLJ M14tDpu8N/RoXftvug36p82Nljq5aqbmBZrqBlxA0btC+3CxdmEi44BpE9sSxO3qzrww tLZ135WkW/3yC6webZhYQ05FTOsnGuvlXFzWLtGsbusNdqrkEjG9IOXQbJBnY5O0ULfN rgh9MjExcPguIZm4/Igxt4cRryHfF/txOmGNqX9SLm/iMkgJCltJyy97arRU3iJKymnc xqOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=WDgKVCrkNWSya6QDwOJszlLpcXYr9lWWPf4Nb55aEi0=; b=ja80KLPf5sHfEdGqCQ4ZugvB2sGOpv6DtS3xo4UDz4eDOjyEy4qymeMDd7dBWU0ti1 nJhSJyhFjyHoCpdIVfcsOTxbQTG9k5vHiE95Lw9Q2PTWYkGkcYh6UJSzx+BaKhgFoqsd 3svbOTh6FTL0/7C5hNT6piNmQyVobJFfkauJRLd1whPCiSnaQWJtu/XatNdbUlCc3e2i b9VZai6rJixNZnSf6Wh6GSV/X2Va9tBNxTKIaB2pJz/r2zlj5M1FZfQ3b0eoDWUdznd9 fi0ICUk8VUumhxyY7idDBWugbZfBlYvW7ayVtahPP+WNva9908Bx1ILiWE8/5B8zwsof V1BA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q81si1244117pfa.207.2019.05.02.23.41.06; Thu, 02 May 2019 23:41:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726407AbfECGPz (ORCPT + 99 others); Fri, 3 May 2019 02:15:55 -0400 Received: from smtp.nue.novell.com ([195.135.221.5]:56523 "EHLO smtp.nue.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726156AbfECGPy (ORCPT ); Fri, 3 May 2019 02:15:54 -0400 Received: from emea4-mta.ukb.novell.com ([10.120.13.87]) by smtp.nue.novell.com with ESMTP (TLS encrypted); Fri, 03 May 2019 08:15:52 +0200 Received: from linux-l9pv.suse (nwb-a10-snat.microfocus.com [10.120.13.202]) by emea4-mta.ukb.novell.com with ESMTP (TLS encrypted); Fri, 03 May 2019 07:15:23 +0100 Date: Fri, 3 May 2019 14:15:18 +0800 From: joeyli To: Ard Biesheuvel Cc: "Lee, Chun-Yi" , James Morris , "Serge E . Hallyn" , David Howells , Josh Boyer , Nayna Jain , Mimi Zohar , linux-efi , linux-security-module , Linux Kernel Mailing List , Kees Cook , Anton Vorontsov , Colin Cross , Tony Luck Subject: Re: [PATCH 1/2 v2] efi: add a function to convert the status value to string Message-ID: <20190503061518.GM11486@linux-l9pv.suse> References: <20190502040441.30372-1-jlee@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 02, 2019 at 10:53:31AM +0200, Ard Biesheuvel wrote: > On Thu, 2 May 2019 at 06:04, Lee, Chun-Yi wrote: > > > > This function can be used to convert EFI status value to string > > for printing out debug message. Using this function can improve > > the readability of log. > > > > v2. > > Please move the changelog out of the commit log (move it below the --- > further down) > OK! I will moved the changelog out of the commit log. > > - Changed the wording in subject and description. > > - Moved the marco immediately after the status value definitions. > > - Turned into a proper function instead of inline. > > > > You missed my point here. A proper function means the function in a .c > file, and only the declaration in a .h file. This way, you are still > duplicating the literal strings into every object file that references > this function. > Sorry for I missunderstood. I will move the function to load_uefi.c. Thanks a lot! Joey Lee