Subject: Re: [PATCH net-next 2/3] net: qualcomm: rmnet: add tx packets aggregation

From: kernel test robot <[email-masked]>
Date: Fri, 11 Nov 2022 03:09:15 +0800

Hi Daniele,

Thank you for the patch! Perhaps something to improve:

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

url:    https://github.com/intel-lab-lkp/linux/commits/Daniele-Palmas/add-tx-packets-aggregation-to-ethtool-and-rmnet/20221110-021152
patch link:    https://lore.kernel.org/r/20221109180249.4721-3-dnlplm%40gmail.com
patch subject: [PATCH net-next 2/3] net: qualcomm: rmnet: add tx packets aggregation
config: ia64-allyesconfig
compiler: ia64-linux-gcc (GCC) 12.1.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
        # https://github.com/intel-lab-lkp/linux/commit/ab24bdaf594299d926240cfc1b8e78fa7e9af3b4
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Daniele-Palmas/add-tx-packets-aggregation-to-ethtool-and-rmnet/20221110-021152
        git checkout ab24bdaf594299d926240cfc1b8e78fa7e9af3b4
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/net/ethernet/qualcomm/rmnet/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email-masked]>

All warnings (new ones prefixed by >>):

>> drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c:575:22: warning: no previous prototype for 'rmnet_map_flush_tx_packet_queue' [-Wmissing-prototypes]
     575 | enum hrtimer_restart rmnet_map_flush_tx_packet_queue(struct hrtimer *t)
         |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/rmnet_map_flush_tx_packet_queue +575 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c

   574	
 > 575	enum hrtimer_restart rmnet_map_flush_tx_packet_queue(struct hrtimer *t)
   576	{
   577		struct rmnet_port *port;
   578	
   579		port = container_of(t, struct rmnet_port, hrtimer);
   580	
   581		schedule_work(&port->agg_wq);
   582	
   583		return HRTIMER_NORESTART;
   584	}
   585	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp