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:	Sat, 7 Nov 2015 06:42:40 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Punit Vara <punitvara@...il.com>
Cc:	kbuild-all@...org, gregkh@...uxfoundation.org,
	devel@...verdev.osuosl.org, linux-wireless@...r.kernel.org,
	Punit Vara <punitvara@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Staging: wilc1000: Declare *wilc in init_wilc_driver to
 fix build error

Hi Punit,

[auto build test WARNING on staging/staging-testing]
[also build test WARNING on next-20151106]
[cannot apply to v4.3]

url:    https://github.com/0day-ci/linux/commits/Punit-Vara/Staging-wilc1000-Declare-wilc-in-init_wilc_driver-to-fix-build-error/20151107-060255
config: i386-allmodconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   drivers/staging/wilc1000/linux_wlan.c: In function 'init_wilc_driver':
>> drivers/staging/wilc1000/linux_wlan.c:1794:15: warning: unused variable 'wilc' [-Wunused-variable]
     struct wilc *wilc;
                  ^

vim +/wilc +1794 drivers/staging/wilc1000/linux_wlan.c

  1778		#ifndef WILC_SDIO
  1779		if (!linux_spi_init(&g_linux_wlan->wilc_spidev)) {
  1780			PRINT_ER("Can't initialize SPI\n");
  1781			return -1; /* ERROR */
  1782		}
  1783		g_linux_wlan->wilc_spidev = wilc_spi_dev;
  1784		#else
  1785		g_linux_wlan->wilc_sdio_func = local_sdio_func;
  1786		#endif
  1787	
  1788		return 0;
  1789	}
  1790	
  1791	/*The 1st function called after module inserted*/
  1792	static int __init init_wilc_driver(void)
  1793	{
> 1794		struct wilc *wilc;
  1795	#ifdef WILC_SPI
  1796		struct wilc *wilc;
  1797	#endif
  1798	
  1799	#if defined(WILC_DEBUGFS)
  1800		if (wilc_debugfs_init() < 0) {
  1801			PRINT_D(GENERIC_DBG, "fail to create debugfs for wilc driver\n");
  1802			return -1;

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ