Hi Dipen, [FYI, it's a private test report for your RFC patch.] [auto build test ERROR on robh/for-next] [also build test ERROR on linux/master linus/master gpio/for-next v5.13-rc7 next-20210625] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Dipen-Patel/Intro-to-Hardware-timestamping-engine/20210626-074917 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: m68k-allmodconfig (attached as .config) compiler: m68k-linux-gcc (GCC) 9.3.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://github.com/0day-ci/linux/commit/887b08c0d50d454bf7c9624afa13c28fe522c977 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Dipen-Patel/Intro-to-Hardware-timestamping-engine/20210626-074917 git checkout 887b08c0d50d454bf7c9624afa13c28fe522c977 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from include/linux/printk.h:6, from include/linux/kernel.h:17, from drivers/hte/hte.c:8: >> drivers/hte/hte.c:298:17: error: initialization of 'initcall_t' {aka 'int (*)(void)'} from incompatible pointer type 'void (*)(void)' [-Werror=incompatible-pointer-types] 298 | subsys_initcall(hte_subsys_dbgfs_init); | ^~~~~~~~~~~~~~~~~~~~~ include/linux/init.h:249:41: note: in definition of macro '____define_initcall' 249 | __attribute__((__section__(__sec))) = fn; | ^~ include/linux/init.h:259:2: note: in expansion of macro '__unique_initcall' 259 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ include/linux/init.h:261:35: note: in expansion of macro '___define_initcall' 261 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ include/linux/init.h:285:30: note: in expansion of macro '__define_initcall' 285 | #define subsys_initcall(fn) __define_initcall(fn, 4) | ^~~~~~~~~~~~~~~~~ drivers/hte/hte.c:298:1: note: in expansion of macro 'subsys_initcall' 298 | subsys_initcall(hte_subsys_dbgfs_init); | ^~~~~~~~~~~~~~~ In file included from include/linux/kernel.h:17, from drivers/hte/hte.c:8: drivers/hte/hte.c: In function 'hte_para_check': drivers/hte/hte.c:827:12: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 827 | pr_debug("%s:%d: val :%lu\n", __func__, __LINE__, val); | ^~~~~~~~~~~~~~~~~~~ include/linux/printk.h:301:21: note: in definition of macro 'pr_fmt' 301 | #define pr_fmt(fmt) fmt | ^~~ include/linux/dynamic_debug.h:147:2: note: in expansion of macro '__dynamic_func_call' 147 | __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ include/linux/dynamic_debug.h:157:2: note: in expansion of macro '_dynamic_func_call' 157 | _dynamic_func_call(fmt, __dynamic_pr_debug, \ | ^~~~~~~~~~~~~~~~~~ include/linux/printk.h:424:2: note: in expansion of macro 'dynamic_pr_debug' 424 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/hte/hte.c:827:3: note: in expansion of macro 'pr_debug' 827 | pr_debug("%s:%d: val :%lu\n", __func__, __LINE__, val); | ^~~~~~~~ drivers/hte/hte.c:827:27: note: format string is defined here 827 | pr_debug("%s:%d: val :%lu\n", __func__, __LINE__, val); | ~~^ | | | long unsigned int | %u drivers/hte/hte.c: In function 'hte_add_to_device_list': drivers/hte/hte.c:1180:21: warning: variable 'prev' set but not used [-Wunused-but-set-variable] 1180 | struct hte_device *prev; | ^~~~ cc1: some warnings being treated as errors vim +298 drivers/hte/hte.c 292 293 static void __init hte_subsys_dbgfs_init(void) 294 { 295 /* creates /sys/kernel/debug/hte/ */ 296 hte_root = debugfs_create_dir("hte", NULL); 297 } > 298 subsys_initcall(hte_subsys_dbgfs_init); 299 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org