tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 20af1ca418d2c0b11bc2a1fe8c0c88f67bcc2a7e commit: 0d60d8df6f493bb46bf5db40d39dd60a1bafdd4e [10123/10830] dpll: rely on rcu for netdev_dpll_pin() config: i386-randconfig-141-20240228 (https://download.01.org/0day-ci/archive/20240229/202402290000.tX1Ed1x7-lkp@xxxxxxxxx/config) compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240229/202402290000.tX1Ed1x7-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/202402290000.tX1Ed1x7-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): In file included from include/linux/rbtree.h:24:0, from include/linux/mm_types.h:11, from include/linux/mmzone.h:22, from include/linux/gfp.h:7, from include/linux/umh.h:4, from include/linux/kmod.h:9, from include/linux/module.h:17, from net/core/rtnetlink.c:17: include/linux/dpll.h: In function 'netdev_dpll_pin': include/linux/rcupdate.h:439:9: error: dereferencing pointer to incomplete type 'struct dpll_pin' typeof(*p) *local = (typeof(*p) *__force)READ_ONCE(p); \ ^ include/linux/rcupdate.h:587:2: note: in expansion of macro '__rcu_dereference_check' __rcu_dereference_check((p), __UNIQUE_ID(rcu), \ ^~~~~~~~~~~~~~~~~~~~~~~ include/linux/rtnetlink.h:70:2: note: in expansion of macro 'rcu_dereference_check' rcu_dereference_check(p, lockdep_rtnl_is_held()) ^~~~~~~~~~~~~~~~~~~~~ include/linux/dpll.h:175:9: note: in expansion of macro 'rcu_dereference_rtnl' return rcu_dereference_rtnl(dev->dpll_pin); ^~~~~~~~~~~~~~~~~~~~ In file included from net/core/rtnetlink.c:60:0: >> include/linux/dpll.h:179:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vim +179 include/linux/dpll.h 171 172 static inline struct dpll_pin *netdev_dpll_pin(const struct net_device *dev) 173 { 174 #if IS_ENABLED(CONFIG_DPLL) 175 return rcu_dereference_rtnl(dev->dpll_pin); 176 #else 177 return NULL; 178 #endif > 179 } 180 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki