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: <201611282340.pcryDoW7%fengguang.wu@intel.com>
Date:   Mon, 28 Nov 2016 23:25:12 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Pavel Machek <pavel@....cz>
Cc:     kbuild-all@...org, David Miller <davem@...emloft.net>,
        Andrew Morton <akpm@...l.org>, alexandre.torgue@...com,
        peppe.cavallaro@...com, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] stmmac: reduce code duplication getting basic descriptors

Hi Pavel,

[auto build test WARNING on net-next/master]
[also build test WARNING on v4.9-rc7 next-20161128]
[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/Pavel-Machek/stmmac-reduce-code-duplication-getting-basic-descriptors/20161128-204339
config: x86_64-randconfig-s1-11282147 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/net/ethernet/stmicro/stmmac/stmmac_main.c: In function 'dma_free_tx_skbufs':
>> drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:1137: warning: unused variable 'p'
   drivers/net/ethernet/stmicro/stmmac/stmmac_main.o: warning: objtool: stmmac_resume()+0x125: function has unreachable instruction

vim +/p +1137 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c

  1121		return ret;
  1122	}
  1123	
  1124	static void dma_free_rx_skbufs(struct stmmac_priv *priv)
  1125	{
  1126		int i;
  1127	
  1128		for (i = 0; i < DMA_RX_SIZE; i++)
  1129			stmmac_free_rx_buffers(priv, i);
  1130	}
  1131	
  1132	static void dma_free_tx_skbufs(struct stmmac_priv *priv)
  1133	{
  1134		int i;
  1135	
  1136		for (i = 0; i < DMA_TX_SIZE; i++) {
> 1137			struct dma_desc *p = stmmac_tx_desc(priv, i);
  1138	
  1139			if (priv->tx_skbuff_dma[i].buf) {
  1140				if (priv->tx_skbuff_dma[i].map_as_page)
  1141					dma_unmap_page(priv->device,
  1142						       priv->tx_skbuff_dma[i].buf,
  1143						       priv->tx_skbuff_dma[i].len,
  1144						       DMA_TO_DEVICE);
  1145				else

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ