Re: [PATCH v2 net-next] net: microchip: lan743x: improve throughput with rx timestamp config

From: kernel test robot
Date: Tue Oct 17 2023 - 12:15:52 EST


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@xxxxxxxxx/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@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310172343.lfyTHDCw-lkp@xxxxxxxxx/

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