From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751911AbbEKCHT (ORCPT ); Sun, 10 May 2015 22:07:19 -0400 Received: from mail.windriver.com ([147.11.1.11]:46951 "EHLO mail.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750756AbbEKCHR (ORCPT ); Sun, 10 May 2015 22:07:17 -0400 Message-ID: <55500EBA.3010706@windriver.com> Date: Mon, 11 May 2015 11:06:50 +0900 From: tyeon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "\"David S. Miller\" ; Alexey Kuznetsov ; James Morris ; Hideaki YOSHIFUJI ; Patrick McHardy" CC: ";" Subject: [PATCH] ipconfig : put root_server_path into __initdata section Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org root_server_path is used only for the __init function. so, no need to keep this variable in the memory after kernel init. Signed-off-by: Tom(JeHyeon) Yeon --- net/ipv4/ipconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c index b26376e..0f1b159 100644 --- a/net/ipv4/ipconfig.c +++ b/net/ipv4/ipconfig.c @@ -141,7 +141,7 @@ __be32 ic_addrservaddr = NONE; /* IP Address of the IP addresses'server */ __be32 ic_servaddr = NONE; /* Boot server IP address */ __be32 root_server_addr = NONE; /* Address of NFS server */ -u8 root_server_path[256] = { 0, }; /* Path to mount as root */ +u8 root_server_path[256] __initdata = { 0, }; /* Path to mount as root */ /* vendor class identifier */ static char vendor_class_identifier[253] __initdata; -- 1.7.9.5