tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 048aeae86c3967f4c40666cd26f2c1eb73a4b805 commit: 6c7bec95ceb319e9cc9e35884fa1a16411c8eab5 [4619/4626] proc: remove PDE_DATA() completely config: m68k-defconfig (https://download.01.org/0day-ci/archive/20211201/202112011801.s4uIt5YV-lkp@xxxxxxxxx/config) compiler: m68k-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=6c7bec95ceb319e9cc9e35884fa1a16411c8eab5 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 6c7bec95ceb319e9cc9e35884fa1a16411c8eab5 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=m68k SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): drivers/nubus/proc.c: In function 'nubus_proc_rsrc_show': >> drivers/nubus/proc.c:112:20: error: called object 'pde_data' is not a function or function pointer 112 | pde_data = pde_data(inode); | ^~~~~~~~ drivers/nubus/proc.c:110:37: note: declared here 110 | struct nubus_proc_pde_data *pde_data; | ^~~~~~~~ vim +/pde_data +112 drivers/nubus/proc.c 106 107 static int nubus_proc_rsrc_show(struct seq_file *m, void *v) 108 { 109 struct inode *inode = m->private; 110 struct nubus_proc_pde_data *pde_data; 111 > 112 pde_data = pde_data(inode); 113 if (!pde_data) 114 return 0; 115 116 if (pde_data->res_size > m->size) 117 return -EFBIG; 118 119 if (pde_data->res_size) { 120 int lanes = (int)proc_get_parent_data(inode); 121 struct nubus_dirent ent; 122 123 if (!lanes) 124 return 0; 125 126 ent.mask = lanes; 127 ent.base = pde_data->res_ptr; 128 ent.data = 0; 129 nubus_seq_write_rsrc_mem(m, &ent, pde_data->res_size); 130 } else { 131 unsigned int data = (unsigned int)pde_data->res_ptr; 132 133 seq_putc(m, data >> 16); 134 seq_putc(m, data >> 8); 135 seq_putc(m, data >> 0); 136 } 137 return 0; 138 } 139 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx