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: <201608040754.x9yPMbTs%fengguang.wu@intel.com>
Date:	Thu, 4 Aug 2016 07:15:32 +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: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
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=sparc64 

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:1706:26: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'u64 {aka long long unsigned int}' [-Wformat=]
     len += sprintf(s + len, "\n[%08x] (SLI_PKT_MAC%d_PF%d_RINFO): %016lx\n",
                             ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1713:23: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'u64 {aka long long unsigned int}' [-Wformat=]
         sprintf(s + len, "\n[%08x] (SLI_MAC%d_PF%d_INT_ENB): %016lx\n", reg,
                          ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1719:23: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'u64 {aka long long unsigned int}' [-Wformat=]
         sprintf(s + len, "\n[%08x] (SLI_MAC%d_PF%d_INT_SUM): %016lx\n", reg,
                          ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1724:26: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64 {aka long long unsigned int}' [-Wformat=]
     len += sprintf(s + len, "\n[%08x] (SLI_PKT_MEM_CTL): %016lx\n", reg,
                             ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1731:15: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'u64 {aka long long unsigned int}' [-Wformat=]
         s + len, "\n[%08x] (SLI_MAC%d_PF%d_PKT_VF_INT): %016lx\n", reg,
                  ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1737:26: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'u64 {aka long long unsigned int}' [-Wformat=]
     len += sprintf(s + len, "\n[%08x] (SLI_MAC%d_PF%d_PP_VF_INT): %016lx\n",
                             ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1743:26: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64 {aka long long unsigned int}' [-Wformat=]
     len += sprintf(s + len, "\n[%08x] (SLI_PKT_CNT_INT): %016lx\n", reg,
                             ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1748:26: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64 {aka long long unsigned int}' [-Wformat=]
     len += sprintf(s + len, "\n[%08x] (SLI_PKT_TIME_INT): %016lx\n", reg,
                             ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1753:26: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64 {aka long long unsigned int}' [-Wformat=]
     len += sprintf(s + len, "\n[%08x] (SLI_PKT_INT): %016lx\n", reg,
                             ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1758:26: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64 {aka long long unsigned int}' [-Wformat=]
     len += sprintf(s + len, "\n[%08x] (SLI_PKT_OUTPUT_WMARK): %016lx\n",
                             ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1763:26: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64 {aka long long unsigned int}' [-Wformat=]
     len += sprintf(s + len, "\n[%08x] (SLI_PKT_RING_RST): %016lx\n", reg,
                             ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1768:26: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64 {aka long long unsigned int}' [-Wformat=]
     len += sprintf(s + len, "\n[%08x] (SLI_PKT_GBL_CONTROL): %016lx\n", reg,
                             ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1773:26: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64 {aka long long unsigned int}' [-Wformat=]
     len += sprintf(s + len, "\n[%08x] (SLI_PKT_BIST_STATUS): %016lx\n", reg,
                             ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1781:11: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64 {aka long long unsigned int}' [-Wformat=]
              "\n[%08x] (SLI_PKT_OUT_BP_EN_W1S):  %016lx\n",
              ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1787:11: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64 {aka long long unsigned int}' [-Wformat=]
              "\n[%08x] (SLI_PKT_OUT_BP_EN2_W1S): %016lx\n",
              ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1794:24: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64 {aka long long unsigned int}' [-Wformat=]
          sprintf(s + len, "\n[%08x] (SLI_PKT%d_OUT_SIZE): %016lx\n",
                           ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1802:11: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64 {aka long long unsigned int}' [-Wformat=]
              "\n[%08x] (SLI_PKT_IN_DONE%d_CNTS): %016lx\n",
              ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1810:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64 {aka long long unsigned int}' [-Wformat=]
          s + len, "\n[%08x] (SLI_PKT%d_SLIST_BAOFF_DBELL): %016lx\n",
                   ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1818:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64 {aka long long unsigned int}' [-Wformat=]
          s + len, "\n[%08x] (SLI_PKT%d_SLIST_FIFO_RSIZE): %016lx\n",
                   ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1826:11: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64 {aka long long unsigned int}' [-Wformat=]
              "\n[%08x] (SLI_PKT%d__OUTPUT_CONTROL): %016lx\n",
              ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1834:11: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64 {aka long long unsigned int}' [-Wformat=]
              "\n[%08x] (SLI_PKT%d_SLIST_BADDR): %016lx\n",
              ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1842:11: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64 {aka long long unsigned int}' [-Wformat=]
              "\n[%08x] (SLI_PKT%d_INT_LEVELS): %016lx\n", reg,
              ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1849:27: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64 {aka long long unsigned int}' [-Wformat=]
      len += sprintf(s + len, "\n[%08x] (SLI_PKT%d_CNTS): %016lx\n",
                              ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1857:11: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64 {aka long long unsigned int}' [-Wformat=]
              "\n[%08x] (SLI_PKT%d_ERROR_INFO): %016lx\n", reg,
              ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1865:5: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64 {aka long long unsigned int}' [-Wformat=]
        "\n[%08x] (SLI_PKT%d_INPUT_CONTROL): %016lx\n",
        ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1874:8: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64 {aka long long unsigned int}' [-Wformat=]
           "\n[%08x] (SLI_PKT%d_INSTR_BADDR): %016lx\n", reg,
           ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1883:8: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64 {aka long long unsigned int}' [-Wformat=]
           "\n[%08x] (SLI_PKT%d_INSTR_BAOFF_DBELL): %016lx\n",
           ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1892:8: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64 {aka long long unsigned int}' [-Wformat=]
           "\n[%08x] (SLI_PKT%d_INSTR_FIFO_RSIZE): %016lx\n",
           ^
   drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1900:11: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'u64 {aka long long unsigned int}' [-Wformat=]
              "\n[%08x] (SLI_PKT_IN_DONE%d_CNTS): %016lx\n",
              ^

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

  1690		}
  1691	}
  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));

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ