Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3712167ybv; Sun, 16 Feb 2020 04:04:34 -0800 (PST) X-Google-Smtp-Source: APXvYqzx4CHjLD4qx0ZRQbe3WyDEu1IekfFSbIdL+duL3Bg6crNvmFSGCm2CcyRYiD0JlKZu4ZWf X-Received: by 2002:aca:388:: with SMTP id 130mr6884549oid.89.1581854674225; Sun, 16 Feb 2020 04:04:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581854674; cv=none; d=google.com; s=arc-20160816; b=ozmtZlZ+Df6jCWM1wsJwjAMXmeqIJ1Xs4IGPtmcV3oySLR/GtxfaiNxwhWNfS/wqCj bV6DlLn3keZguqTwp+z7UmUuLXh6yZBUpQdK4TxokgTLT2WXDiWLPV/vF6VM79Rjb/y8 rl+vWqRDU2ZTI9JGGiQ+fqRPdRDd02Nic3oHnkIXKD4oflAZEMRqjUPYrW6zsqrUX0uz 5NXUpqlTc7n5cr2jLDZRnmHo4r/NvsPcbIz78GNhfJCt5ykbl6e7YRF1MPcf927EsHg1 It2fAX6+1QR95W5rQ84VLWStmOnlWBWAJ3XP8LLWuwDEwsqwq1O5q/QnSc7SPbeAzomZ scbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=YWfqJYiQwdWIxSzsapa84BrAXvjGptAqyyRpWA++mCI=; b=dZrCG+ekDvzQp/MPa+cRtdWWXhBiyZ4QZuUcfsYQcRVsP/FHWFcd0otrLbZDZkabjn d3mypQVnQbso6kRf7yuFRMMLDefSzEuRG4ppHSaF7aqnUFN4Ry72q0arPBXuQm3L3sGS bWB9St8OORGLqkDnW0nX38qoLCMTg2oegKhGWKE9A8/Kdc/3Lk4XfZviV5BwHwMI8qn7 gu9Mi1Hs8CqYBQpSRQd+LAVcbvKIozNwzypoO7CEsxs0TGQ+WoF2VIxgjgeefICa4uqI uMmjDBCBaVPisC44O9wJDGqR1BJU6fPIni/S7LLlQs6bXOhi+zPA/5GejPVdm8RChb0V pwpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LZ1FDdnM; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p19si5930554otk.251.2020.02.16.04.04.20; Sun, 16 Feb 2020 04:04:34 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=default header.b=LZ1FDdnM; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728081AbgBPMDk (ORCPT + 99 others); Sun, 16 Feb 2020 07:03:40 -0500 Received: from mail.kernel.org ([198.145.29.99]:53322 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728009AbgBPMDk (ORCPT ); Sun, 16 Feb 2020 07:03:40 -0500 Received: from devnote2 (NE2965lan1.rev.em-net.ne.jp [210.141.244.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D4B5820857; Sun, 16 Feb 2020 12:03:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581854620; bh=lj7ZTxv/npbHV4KVzblAHdNDotXt560iH11Zbuy9Z6A=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=LZ1FDdnM30i3Q5YKwt/DoUotiLpQaPAn2jIh/wtCEGKRsI+i4MG1glYufqsMHguLV 5mICwHAGUqtCowcCr6QIteAoFz6KYn/0DtTinanK9TvPYCwLcuRwo0s8+aDTkaRrmP 7XMeV84cBiYzggNpRDNOE5lxDgf1nUE74PnMUNRQ= Date: Sun, 16 Feb 2020 21:03:33 +0900 From: Masami Hiramatsu To: Qiujun Huang Cc: akpm@linux-foundation.org, mhiramat@kernel.org, rostedt@goodmis.org, keescook@chromium.org, rppt@linux.ibm.com, linux@dominikbrodowski.net, nivedita@alum.mit.edu, nadav.amit@gmail.com, glider@google.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] init/main.c: mark boot_config_checksum static Message-Id: <20200216210333.b5e911feafb3acfae4a1b89b@kernel.org> In-Reply-To: <1581852511-14163-1-git-send-email-hqjagain@gmail.com> References: <1581852511-14163-1-git-send-email-hqjagain@gmail.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 16 Feb 2020 19:28:31 +0800 Qiujun Huang wrote: > In fact, this function is only used in this file, so mark it with 'static'. Good catch! Acked-by: Masami Hiramatsu Thank you! > > Signed-off-by: Qiujun Huang > --- > init/main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/init/main.c b/init/main.c > index f95b014..534589f 100644 > --- a/init/main.c > +++ b/init/main.c > @@ -335,7 +335,7 @@ static char * __init xbc_make_cmdline(const char *key) > return new_cmdline; > } > > -u32 boot_config_checksum(unsigned char *p, u32 size) > +static u32 boot_config_checksum(unsigned char *p, u32 size) > { > u32 ret = 0; > > -- > 1.8.3.1 > -- Masami Hiramatsu