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] [day] [month] [year] [list]
Message-ID: <202201021335.SbR7I6ht-lkp@intel.com>
Date:   Sun, 2 Jan 2022 13:23:57 +0800
From:   kernel test robot <lkp@...el.com>
To:     Martin Habets <habetsm.xilinx@...il.com>, kuba@...nel.org,
        jiasheng@...as.ac.cn, davem@...emloft.net
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        ecree.xilinx@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] sfc: The RX page_ring is optional

Hi Martin,

I love your patch! Yet something to improve:

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

url:    https://github.com/0day-ci/linux/commits/Martin-Habets/sfc-The-RX-page_ring-is-optional/20220101-194123
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git e63a02348958cd7cc8c8401c94de57ad97b5d06c
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220102/202201021335.SbR7I6ht-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c054402170cd8466683a20385befc0523aba3359)
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
        # https://github.com/0day-ci/linux/commit/162a8e2305bbbba8cd81966114ecce08790c431d
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Martin-Habets/sfc-The-RX-page_ring-is-optional/20220101-194123
        git checkout 162a8e2305bbbba8cd81966114ecce08790c431d
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

>> drivers/net/ethernet/sfc/rx_common.c:120:3: error: void function 'efx_recycle_rx_pages' should not return a value [-Wreturn-type]
                   return NULL;
                   ^      ~~~~
   1 error generated.
--
>> drivers/net/ethernet/sfc/falcon/rx.c:299:3: error: void function 'ef4_recycle_rx_pages' should not return a value [-Wreturn-type]
                   return NULL;
                   ^      ~~~~
   1 error generated.


vim +/efx_recycle_rx_pages +120 drivers/net/ethernet/sfc/rx_common.c

   111	
   112	/* Recycle the pages that are used by buffers that have just been received. */
   113	void efx_recycle_rx_pages(struct efx_channel *channel,
   114				  struct efx_rx_buffer *rx_buf,
   115				  unsigned int n_frags)
   116	{
   117		struct efx_rx_queue *rx_queue = efx_channel_get_rx_queue(channel);
   118	
   119		if (unlikely(!rx_queue->page_ring))
 > 120			return NULL;
   121	
   122		do {
   123			efx_recycle_rx_page(channel, rx_buf);
   124			rx_buf = efx_rx_buf_next(rx_queue, rx_buf);
   125		} while (--n_frags);
   126	}
   127	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ