[PATCH net-next v2 2/3] net: airoha: Add airoha_ppe_dev struct definition

kernel test robot lkp at intel.com
Fri Aug 22 15:34:41 PDT 2025


Hi Lorenzo,

kernel test robot noticed the following build errors:

[auto build test ERROR on a7bd72158063740212344fad5d99dcef45bc70d6]

url:    https://github.com/intel-lab-lkp/linux/commits/Lorenzo-Bianconi/net-airoha-Rely-on-airoha_eth-struct-in-airoha_ppe_flow_offload_cmd-signature/20250822-151720
base:   a7bd72158063740212344fad5d99dcef45bc70d6
patch link:    https://lore.kernel.org/r/20250822-airoha-en7581-wlan-rx-offload-v2-2-8a76e1d3fec2%40kernel.org
patch subject: [PATCH net-next v2 2/3] net: airoha: Add airoha_ppe_dev struct definition
config: powerpc64-randconfig-003-20250823 (https://download.01.org/0day-ci/archive/20250823/202508230602.GmZrkmas-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250823/202508230602.GmZrkmas-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202508230602.GmZrkmas-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/net/ethernet/airoha/airoha_eth.h:16,
                    from drivers/net/ethernet/airoha/airoha_npu.c:15:
>> include/linux/soc/airoha/airoha_offload.h:31:15: error: unknown type name 'airoha_ppe_dev'
      31 | static inline airoha_ppe_dev *airoha_ppe_get_dev(struct device *dev)
         |               ^~~~~~~~~~~~~~


vim +/airoha_ppe_dev +31 include/linux/soc/airoha/airoha_offload.h

    24	
    25	static inline int airoha_ppe_dev_setup_tc_block_cb(struct airoha_ppe_dev *dev,
    26							   void *type_data)
    27	{
    28		return dev->ops.setup_tc_block_cb(dev, type_data);
    29	}
    30	#else
  > 31	static inline airoha_ppe_dev *airoha_ppe_get_dev(struct device *dev)
    32	{
    33		return NULL;
    34	}
    35	

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



More information about the linux-arm-kernel mailing list