[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201510151117.VYwtdeyT%fengguang.wu@intel.com>
Date: Thu, 15 Oct 2015 11:27:49 +0800
From: kbuild test robot <lkp@...el.com>
To: roy.qing.li@...il.com
Cc: kbuild-all@...org, netdev@...r.kernel.org
Subject: Re: [PATCH] ipconfig: send Client-identifier in DHCP requests
Hi Li,
[auto build test WARNING on net/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base]
url: https://github.com/0day-ci/linux/commits/roy-qing-li-gmail-com/ipconfig-send-Client-identifier-in-DHCP-requests/20151015-105553
config: parisc-c3000_defconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=parisc
All warnings (new ones prefixed by >>):
>> net/ipv4/ipconfig.c:148:13: warning: 'dhcp_client_identifier' defined but not used [-Wunused-variable]
static char dhcp_client_identifier[253] __initdata;
^
vim +/dhcp_client_identifier +148 net/ipv4/ipconfig.c
132
133 static int ic_host_name_set __initdata; /* Host name set by us? */
134
135 __be32 ic_myaddr = NONE; /* My IP address */
136 static __be32 ic_netmask = NONE; /* Netmask for local subnet */
137 __be32 ic_gateway = NONE; /* Gateway IP address */
138
139 __be32 ic_addrservaddr = NONE; /* IP Address of the IP addresses'server */
140
141 __be32 ic_servaddr = NONE; /* Boot server IP address */
142
143 __be32 root_server_addr = NONE; /* Address of NFS server */
144 u8 root_server_path[256] = { 0, }; /* Path to mount as root */
145
146 /* vendor class identifier */
147 static char vendor_class_identifier[253] __initdata;
> 148 static char dhcp_client_identifier[253] __initdata;
149
150 /* Persistent data: */
151
152 static int ic_proto_used; /* Protocol used, if any */
153 static __be32 ic_nameservers[CONF_NAMESERVERS_MAX]; /* DNS Server IP addresses */
154 static u8 ic_domain[64]; /* DNS (not NIS) domain name */
155
156 /*
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (13572 bytes)
Powered by blists - more mailing lists