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]
Date:   Tue, 7 Feb 2017 07:21:34 +0800
From:   kbuild test robot <lkp@...el.com>
To:     eajames@...ux.vnet.ibm.com
Cc:     kbuild-all@...org, linux@...ck-us.net, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org, linux-hwmon@...r.kernel.org,
        linux-doc@...r.kernel.org, jdelvare@...e.com, corbet@....net,
        mark.rutland@....com, robh+dt@...nel.org, wsa@...-dreams.de,
        andrew@...id.au, joel@....id.au, benh@...nel.crashing.org,
        "Edward A. James" <eajames@...ibm.com>
Subject: Re: [PATCH linux v6 1/6] hwmon: Add core On-Chip Controller support
 for POWER CPUs

Hi Edward,

[auto build test WARNING on hwmon/hwmon-next]
[also build test WARNING on v4.10-rc7 next-20170206]
[cannot apply to linux/master]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/eajames-linux-vnet-ibm-com/drivers-hwmon-Add-On-Chip-Controller-driver/20170207-043353
base:   https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
config: openrisc-allyesconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
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=openrisc 

All warnings (new ones prefixed by >>):

   drivers/hwmon/occ/occ.c: In function 'parse_occ_response':
>> drivers/hwmon/occ/occ.c:127:6: warning: unused variable 'rc'

vim +/rc +127 drivers/hwmon/occ/occ.c

   111		struct device *dev;
   112		void *bus;
   113		struct occ_bus_ops bus_ops;
   114		struct occ_ops ops;
   115		struct occ_config config;
   116		unsigned long last_updated;
   117		struct mutex update_lock;
   118		struct occ_response response;
   119		bool valid;
   120		u8 *raw_data;
   121	};
   122	
   123	static int parse_occ_response(struct occ *driver, u16 num_bytes)
   124	{
   125		int b;
   126		int s;
 > 127		int rc;
   128		unsigned int offset = SENSOR_BLOCK_OFFSET;
   129		int sensor_type;
   130		u8 num_sensor_blocks;
   131		struct sensor_data_block_header *block;
   132		void *sensors;
   133		struct device *dev = driver->dev;
   134		u8 *data = driver->raw_data;
   135		struct occ_response *resp = &driver->response;

---
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/gzip" (40210 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ