From patchwork Sun Apr 1 00:32:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 10319035 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6761360116 for ; Sun, 1 Apr 2018 00:33:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 57C2B291EE for ; Sun, 1 Apr 2018 00:33:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C8AD292DC; Sun, 1 Apr 2018 00:33:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 07D71291EE for ; Sun, 1 Apr 2018 00:33:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753086AbeDAAdf (ORCPT ); Sat, 31 Mar 2018 20:33:35 -0400 Received: from mga17.intel.com ([192.55.52.151]:40156 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753045AbeDAAdd (ORCPT ); Sat, 31 Mar 2018 20:33:33 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Mar 2018 17:33:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,389,1517904000"; d="scan'208";a="42398398" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga004.fm.intel.com with ESMTP; 31 Mar 2018 17:33:31 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1f2Qvy-000SUv-B8; Sun, 01 Apr 2018 08:33:22 +0800 Date: Sun, 1 Apr 2018 08:32:41 +0800 From: kbuild test robot To: Rahul Lakkireddy Cc: kbuild-all@01.org, netdev@vger.kernel.org, kexec@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, davem@davemloft.net, viro@zeniv.linux.org.uk, ebiederm@xmission.com, stephen@networkplumber.org, akpm@linux-foundation.org, torvalds@linux-foundation.org, ganeshgr@chelsio.com, nirranjan@chelsio.com, indranil@chelsio.com, Rahul Lakkireddy Subject: [RFC PATCH] vmcore: __vmcore_add_device_dump() can be static Message-ID: <20180401003241.GA77163@lkp-sb-ep06.lkp.intel.com> References: <194d1e289b385f2cbd4cb2c2569af93723a9cfb8.1522483891.git.rahul.lakkireddy@chelsio.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <194d1e289b385f2cbd4cb2c2569af93723a9cfb8.1522483891.git.rahul.lakkireddy@chelsio.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: 6bf7e2b7f850 ("vmcore: add API to collect hardware dump in second kernel") Signed-off-by: Fengguang Wu --- vmcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c index b53698f..fe788dd 100644 --- a/fs/proc/vmcore.c +++ b/fs/proc/vmcore.c @@ -1196,7 +1196,7 @@ static void vmcoredd_write_note(const char *name, void *buf, size_t size) * Write Elf note at the beginning of the buffer to indicate vmcore device * dump and add the dump to global list. */ -int __vmcore_add_device_dump(struct vmcoredd_data *data) +static int __vmcore_add_device_dump(struct vmcoredd_data *data) { size_t note_size, data_size; struct vmcoredd_node *dump;