lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201510151148.YDtVMJk0%fengguang.wu@intel.com>
Date:	Thu, 15 Oct 2015 11:27:56 +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-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: In function 'ic_proto_name':
>> net/ipv4/ipconfig.c:1584:4: warning: ignoring return value of 'kstrtou8', declared with attribute warn_unused_result [-Wunused-result]
       kstrtou8(client_id, 0, dhcp_client_identifier);
       ^

vim +/kstrtou8 +1584 net/ipv4/ipconfig.c

  1568			return 0;
  1569		}
  1570	#ifdef CONFIG_IP_PNP_DHCP
  1571		else if (!strncmp(name, "dhcp", 4)) {
  1572			char *client_id;
  1573	
  1574			ic_proto_enabled &= ~IC_RARP;
  1575			client_id = strstr(name, "dhcp,");
  1576			if (client_id) {
  1577				char *v;
  1578	
  1579				client_id = client_id + 5;
  1580				v = strchr(client_id, ',');
  1581				if (!v)
  1582					return 1;
  1583				*v = 0;
> 1584				kstrtou8(client_id, 0, dhcp_client_identifier);
  1585				strncpy(dhcp_client_identifier + 1, v + 1, 251);
  1586				*v = ',';
  1587			}
  1588			return 1;
  1589		}
  1590	#endif
  1591	#ifdef CONFIG_IP_PNP_BOOTP
  1592		else if (!strcmp(name, "bootp")) {

---
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" (14064 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ