[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180401003241.GA77163@lkp-sb-ep06.lkp.intel.com>
Date: Sun, 1 Apr 2018 08:32:41 +0800
From: kbuild test robot <lkp@...el.com>
To: Rahul Lakkireddy <rahul.lakkireddy@...lsio.com>
Cc: kbuild-all@...org, netdev@...r.kernel.org,
kexec@...ts.infradead.org, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, davem@...emloft.net,
viro@...iv.linux.org.uk, ebiederm@...ssion.com,
stephen@...workplumber.org, akpm@...ux-foundation.org,
torvalds@...ux-foundation.org, ganeshgr@...lsio.com,
nirranjan@...lsio.com, indranil@...lsio.com,
Rahul Lakkireddy <rahul.lakkireddy@...lsio.com>
Subject: [RFC PATCH] vmcore: __vmcore_add_device_dump() can be static
Fixes: 6bf7e2b7f850 ("vmcore: add API to collect hardware dump in second kernel")
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
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;
Powered by blists - more mailing lists