All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] [jkirsher-next-queue:dev-queue 5/55] drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:2271:15: error: redefinition of 'truesize'
@ 2020-06-11 12:34 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-06-11 12:34 UTC (permalink / raw)
  To: intel-wired-lan

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git dev-queue
head:   94e8b9f389d896ead02e9633104231fc864da9b0
commit: 0ca4b678d984828b7cdbd1d585e995f983853483 [5/55] ixgbe: fix XDP redirect on archs with PAGE_SIZE above 4K
config: sparc-allyesconfig (attached as .config)
compiler: sparc64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 0ca4b678d984828b7cdbd1d585e995f983853483
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sparc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>, old ones prefixed by <<):

drivers/net/ethernet/intel/ixgbe/ixgbe_main.c: In function 'ixgbe_rx_buffer_flip':
>> drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:2271:15: error: redefinition of 'truesize'
2271 |  unsigned int truesize = ring_uses_build_skb(rx_ring) ?
|               ^~~~~~~~
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:2267:15: note: previous definition of 'truesize' was here
2267 |  unsigned int truesize = ixgbe_rx_frame_truesize(rx_ring, size);
|               ^~~~~~~~

vim +/truesize +2271 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c

  2262	
  2263	static void ixgbe_rx_buffer_flip(struct ixgbe_ring *rx_ring,
  2264					 struct ixgbe_rx_buffer *rx_buffer,
  2265					 unsigned int size)
  2266	{
  2267		unsigned int truesize = ixgbe_rx_frame_truesize(rx_ring, size);
  2268	#if (PAGE_SIZE < 8192)
  2269		rx_buffer->page_offset ^= truesize;
  2270	#else
> 2271		unsigned int truesize = ring_uses_build_skb(rx_ring) ?
  2272					SKB_DATA_ALIGN(IXGBE_SKB_PAD + size) +
  2273					SKB_DATA_ALIGN(sizeof(struct skb_shared_info)) :
  2274					SKB_DATA_ALIGN(size);
  2275	
  2276		rx_buffer->page_offset += truesize;
  2277	#endif
  2278	}
  2279	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all at lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 63225 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20200611/5f1c7c64/attachment-0001.bin>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [jkirsher-next-queue:dev-queue 5/55] drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:2271:15: error: redefinition of 'truesize'
@ 2020-06-11 12:34 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-06-11 12:34 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2199 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git dev-queue
head:   94e8b9f389d896ead02e9633104231fc864da9b0
commit: 0ca4b678d984828b7cdbd1d585e995f983853483 [5/55] ixgbe: fix XDP redirect on archs with PAGE_SIZE above 4K
config: sparc-allyesconfig (attached as .config)
compiler: sparc64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 0ca4b678d984828b7cdbd1d585e995f983853483
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sparc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>, old ones prefixed by <<):

drivers/net/ethernet/intel/ixgbe/ixgbe_main.c: In function 'ixgbe_rx_buffer_flip':
>> drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:2271:15: error: redefinition of 'truesize'
2271 |  unsigned int truesize = ring_uses_build_skb(rx_ring) ?
|               ^~~~~~~~
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:2267:15: note: previous definition of 'truesize' was here
2267 |  unsigned int truesize = ixgbe_rx_frame_truesize(rx_ring, size);
|               ^~~~~~~~

vim +/truesize +2271 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c

  2262	
  2263	static void ixgbe_rx_buffer_flip(struct ixgbe_ring *rx_ring,
  2264					 struct ixgbe_rx_buffer *rx_buffer,
  2265					 unsigned int size)
  2266	{
  2267		unsigned int truesize = ixgbe_rx_frame_truesize(rx_ring, size);
  2268	#if (PAGE_SIZE < 8192)
  2269		rx_buffer->page_offset ^= truesize;
  2270	#else
> 2271		unsigned int truesize = ring_uses_build_skb(rx_ring) ?
  2272					SKB_DATA_ALIGN(IXGBE_SKB_PAD + size) +
  2273					SKB_DATA_ALIGN(sizeof(struct skb_shared_info)) :
  2274					SKB_DATA_ALIGN(size);
  2275	
  2276		rx_buffer->page_offset += truesize;
  2277	#endif
  2278	}
  2279	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 63225 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-11 12:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-11 12:34 [Intel-wired-lan] [jkirsher-next-queue:dev-queue 5/55] drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:2271:15: error: redefinition of 'truesize' kernel test robot
2020-06-11 12:34 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.