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: <201608040619.DVe0tHMY%fengguang.wu@intel.com>
Date:	Thu, 4 Aug 2016 06:54:51 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Raghu Vatsavayi <rvatsavayi@...iumnetworks.com>
Cc:	kbuild-all@...org, davem@...emloft.net, netdev@...r.kernel.org,
	Raghu Vatsavayi <rvatsavayi@...iumnetworks.com>,
	Derek Chickles <derek.chickles@...iumnetworks.com>,
	Satanand Burla <satananda.burla@...iumnetworks.com>,
	Felix Manlunas <felix.manlunas@...iumnetworks.com>,
	Raghu Vatsavayi <raghu.vatsavayi@...iumnetworks.com>
Subject: Re: [PATCH net-next 15/18] liquidio support for new device cn23xx

Hi Raghu,

[auto build test WARNING on net-next/master]

url:    https://github.com/0day-ci/linux/commits/Raghu-Vatsavayi/liquidio-support-for-new-device-cn23xx/20160804-063711
config: tile-allmodconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
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=tile 

All warnings (new ones prefixed by >>):

   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c: In function 'cn23xx_read_csr_reg':
>> drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1708:10: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1714:7: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1720:7: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1725:10: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1732:6: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1739:10: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1744:10: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1749:10: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1754:10: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1759:10: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1764:10: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1769:10: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1774:10: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1782:11: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1788:11: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1795:8: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1803:11: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1811:7: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1819:7: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1827:11: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1835:11: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1843:11: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1850:11: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1858:11: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1866:5: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1875:8: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1884:8: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1893:8: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64' [-Wformat]
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1901:11: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64' [-Wformat]

vim +1708 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c

  1692	
  1693	static int cn23xx_read_csr_reg(char *s, struct octeon_device *oct)
  1694	{
  1695		u32 reg;
  1696		u8 pf_num = oct->pf_num;
  1697		int len = 0;
  1698		int i;
  1699	
  1700		/* PCI  Window Registers */
  1701	
  1702		len += sprintf(s + len, "\n\t Octeon CSR Registers\n\n");
  1703	
  1704		/*0x29030 or 0x29040*/
  1705		reg = CN23XX_SLI_PKT_MAC_RINFO64(oct->pcie_port, oct->pf_num);
  1706		len += sprintf(s + len, "\n[%08x] (SLI_PKT_MAC%d_PF%d_RINFO): %016lx\n",
  1707			       reg, oct->pcie_port, oct->pf_num,
> 1708			       octeon_read_csr64(oct, reg));
  1709	
  1710		/*0x27080 or 0x27090*/
  1711		reg = CN23XX_SLI_MAC_PF_INT_ENB64(oct->pcie_port, oct->pf_num);
  1712		len +=
  1713		    sprintf(s + len, "\n[%08x] (SLI_MAC%d_PF%d_INT_ENB): %016lx\n", reg,
  1714			    oct->pcie_port, oct->pf_num, octeon_read_csr64(oct, reg));
  1715	
  1716		/*0x27000 or 0x27010*/

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ