Hi Przemek, kernel test robot noticed the following build errors:
[auto build test ERROR on net-next/main] url: https://github.com/intel-lab-lkp/linux/commits/Przemek-Kitszel/devlink-unify-devlink_shd_get_priv-into-devlink_priv/20260325-130848 base: net-next/main patch link: https://lore.kernel.org/r/20260323132136.13191-1-przemyslaw.kitszel%40intel.com patch subject: [Intel-wired-lan] [PATCH net-next] devlink: unify devlink_shd_get_priv() into devlink_priv() config: x86_64-rhel-9.4-ltp (https://download.01.org/0day-ci/archive/20260325/[email protected]/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260325/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All errors (new ones prefixed by >>): net/devlink/sh_dev.c: In function 'devlink_to_shd': >> net/devlink/sh_dev.c:36:16: error: returning 'char (*)[]' from a function >> with incompatible return type 'struct devlink_shd *' >> [-Wincompatible-pointer-types] 36 | return &devlink->priv; | ^~~~~~~~~~~~~~ vim +36 net/devlink/sh_dev.c 33 34 static struct devlink_shd *devlink_to_shd(struct devlink *devlink) 35 { > 36 return &devlink->priv; 37 } 38 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
