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]
Date: Tue, 17 Oct 2023 23:55:37 +0800
From: kernel test robot <lkp@...el.com>
To: Vishvambar Panth S <vishvambarpanth.s@...rochip.com>,
	linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
	jacob.e.keller@...el.com, kuba@...nel.org
Cc: oe-kbuild-all@...ts.linux.dev, bryan.whitehead@...rochip.com,
	UNGLinuxDriver@...rochip.com, davem@...emloft.net,
	edumazet@...gle.com, pabeni@...hat.com, richardcochran@...il.com
Subject: Re: [PATCH v2 net-next] net: microchip: lan743x: improve throughput
 with rx timestamp config

Hi Vishvambar,

kernel test robot noticed the following build warnings:

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

url:    https://github.com/intel-lab-lkp/linux/commits/Vishvambar-Panth-S/net-microchip-lan743x-improve-throughput-with-rx-timestamp-config/20231017-180453
base:   net-next/main
patch link:    https://lore.kernel.org/r/20231017180542.30613-1-vishvambarpanth.s%40microchip.com
patch subject: [PATCH v2 net-next] net: microchip: lan743x: improve throughput with rx timestamp config
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20231017/202310172343.lfyTHDCw-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231017/202310172343.lfyTHDCw-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310172343.lfyTHDCw-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/net/ethernet/microchip/lan743x_main.c:1873:6: warning: no previous prototype for 'lan743x_rx_cfg_b_tstamp_config' [-Wmissing-prototypes]
    1873 | void lan743x_rx_cfg_b_tstamp_config(struct lan743x_adapter *adapter,
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/lan743x_rx_cfg_b_tstamp_config +1873 drivers/net/ethernet/microchip/lan743x_main.c

  1872	
> 1873	void lan743x_rx_cfg_b_tstamp_config(struct lan743x_adapter *adapter,
  1874					    int rx_ts_config)
  1875	{
  1876		int channel_number;
  1877		int index;
  1878		u32 data;
  1879	
  1880		for (index = 0; index < LAN743X_USED_RX_CHANNELS; index++) {
  1881			channel_number = adapter->rx[index].channel_number;
  1882			data = lan743x_csr_read(adapter, RX_CFG_B(channel_number));
  1883			data &= RX_CFG_B_TS_MASK_;
  1884			data |= rx_ts_config;
  1885			lan743x_csr_write(adapter, RX_CFG_B(channel_number),
  1886					  data);
  1887		}
  1888	}
  1889	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ