[xilinx-xlnx:xlnx_rebase_v5.15_LTS 234/1039] drivers/net/ethernet/xilinx/xilinx_tsn_cb.c:85: warning: expecting prototype for config_stream_filter(). Prototype was for config_ingress_filter() instead

kernel test robot lkp at intel.com
Mon Mar 28 14:45:16 PDT 2022


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS
head:   ea33365bd1a8cf667a122498e8f551df05609f92
commit: 263fc2f4cc2eb862df696baa57738c5047a7ed38 [234/1039] net: xilinx: Add Support for CB/FRER feature of PL TSN IP
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20220329/202203290553.VbtP230C-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0f6d9501cf49ce02937099350d08f20c4af86f3d)
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
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://github.com/Xilinx/linux-xlnx/commit/263fc2f4cc2eb862df696baa57738c5047a7ed38
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.15_LTS
        git checkout 263fc2f4cc2eb862df696baa57738c5047a7ed38
        # 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=arm64 SHELL=/bin/bash

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

All warnings (new ones prefixed by >>):

>> drivers/net/ethernet/xilinx/xilinx_tsn_cb.c:85: warning: expecting prototype for config_stream_filter(). Prototype was for config_ingress_filter() instead


vim +85 drivers/net/ethernet/xilinx/xilinx_tsn_cb.c

    79	
    80	/**
    81	 * config_stream_filter -  Configure Ingress Filter Configuration
    82	 * @data:	Value to be programmed
    83	 */
    84	void config_ingress_filter(struct in_fltr data)
  > 85	{
    86		u32 mask = 0;
    87	
    88		mask = ((data.in_port_id & IN_PORTID_MASK) << IN_PORTID_SHIFT) |
    89						(data.max_seq_id & MAX_SEQID_MASK);
    90		axienet_iow(&lp, INGRESS_FILTER_OFFSET, mask);
    91	}
    92	

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



More information about the linux-arm-kernel mailing list