Hi Dipen, [FYI, it's a private test report for your RFC patch.] [auto build test ERROR on 2d02a18f75fc81177a4e30f3aaaed9af06cc3adc] url: https://github.com/0day-ci/linux/commits/Dipen-Patel/Intro-to-Hardware-timestamping-engine/20211001-072745 base: 2d02a18f75fc81177a4e30f3aaaed9af06cc3adc config: ia64-defconfig (attached as .config) compiler: ia64-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://github.com/0day-ci/linux/commit/bd7dcd8a026a55d05ae0b2dba5aaf5a926d9c7b6 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Dipen-Patel/Intro-to-Hardware-timestamping-engine/20211001-072745 git checkout bd7dcd8a026a55d05ae0b2dba5aaf5a926d9c7b6 # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash 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 drivers/net/phy/mdio_bus.c:17: >> include/linux/gpio/consumer.h:362:45: error: unknown type name 'hte_ts_threaded'; did you mean 'hte_ts_threaded_cb_t'? 362 | hte_ts_threaded tcb, | ^~~~~~~~~~~~~~~ | hte_ts_threaded_cb_t -- In file included from include/linux/nvmem-provider.h:14, from include/linux/rtc.h:18, from include/linux/efi.h:20, from drivers/firmware/efi/efi.c:22: >> include/linux/gpio/consumer.h:362:45: error: unknown type name 'hte_ts_threaded'; did you mean 'hte_ts_threaded_cb_t'? 362 | hte_ts_threaded tcb, | ^~~~~~~~~~~~~~~ | hte_ts_threaded_cb_t drivers/firmware/efi/efi.c:166:16: warning: no previous prototype for 'efi_attr_is_visible' [-Wmissing-prototypes] 166 | umode_t __weak efi_attr_is_visible(struct kobject *kobj, struct attribute *attr, | ^~~~~~~~~~~~~~~~~~~ -- In file included from include/linux/nvmem-provider.h:14, from include/linux/rtc.h:18, from include/linux/efi.h:20, from drivers/firmware/efi/sysfb_efi.c:18: >> include/linux/gpio/consumer.h:362:45: error: unknown type name 'hte_ts_threaded'; did you mean 'hte_ts_threaded_cb_t'? 362 | hte_ts_threaded tcb, | ^~~~~~~~~~~~~~~ | hte_ts_threaded_cb_t drivers/firmware/efi/sysfb_efi.c:72:6: warning: no previous prototype for 'efifb_setup_from_dmi' [-Wmissing-prototypes] 72 | void efifb_setup_from_dmi(struct screen_info *si, const char *opt) | ^~~~~~~~~~~~~~~~~~~~ -- In file included from include/linux/nvmem-provider.h:14, from include/linux/rtc.h:18, from include/linux/efi.h:20, from init/main.c:53: >> include/linux/gpio/consumer.h:362:45: error: unknown type name 'hte_ts_threaded'; did you mean 'hte_ts_threaded_cb_t'? 362 | hte_ts_threaded tcb, | ^~~~~~~~~~~~~~~ | hte_ts_threaded_cb_t init/main.c:790:20: warning: no previous prototype for 'mem_encrypt_init' [-Wmissing-prototypes] 790 | void __init __weak mem_encrypt_init(void) { } | ^~~~~~~~~~~~~~~~ init/main.c:792:20: warning: no previous prototype for 'poking_init' [-Wmissing-prototypes] 792 | void __init __weak poking_init(void) { } | ^~~~~~~~~~~ -- In file included from include/linux/nvmem-provider.h:14, from include/linux/rtc.h:18, from include/linux/efi.h:20, from arch/ia64/kernel/efi.c:33: >> include/linux/gpio/consumer.h:362:45: error: unknown type name 'hte_ts_threaded'; did you mean 'hte_ts_threaded_cb_t'? 362 | hte_ts_threaded tcb, | ^~~~~~~~~~~~~~~ | hte_ts_threaded_cb_t arch/ia64/kernel/efi.c: In function 'efi_init': arch/ia64/kernel/efi.c:490:13: warning: variable 'efi_desc_size' set but not used [-Wunused-but-set-variable] 490 | u64 efi_desc_size; | ^~~~~~~~~~~~~ arch/ia64/kernel/efi.c:489:31: warning: variable 'efi_map_end' set but not used [-Wunused-but-set-variable] 489 | void *efi_map_start, *efi_map_end; | ^~~~~~~~~~~ arch/ia64/kernel/efi.c: At top level: arch/ia64/kernel/efi.c:971:1: warning: no previous prototype for 'find_memmap_space' [-Wmissing-prototypes] 971 | find_memmap_space (void) | ^~~~~~~~~~~~~~~~~ -- In file included from include/linux/nvmem-provider.h:14, from include/linux/rtc.h:18, from include/linux/efi.h:20, from arch/ia64/kernel/process.c:30: >> include/linux/gpio/consumer.h:362:45: error: unknown type name 'hte_ts_threaded'; did you mean 'hte_ts_threaded_cb_t'? 362 | hte_ts_threaded tcb, | ^~~~~~~~~~~~~~~ | hte_ts_threaded_cb_t arch/ia64/kernel/process.c:155:1: warning: no previous prototype for 'console_print' [-Wmissing-prototypes] 155 | console_print(const char *s) | ^~~~~~~~~~~~~ arch/ia64/kernel/process.c:161:1: warning: no previous prototype for 'do_notify_resume_user' [-Wmissing-prototypes] 161 | do_notify_resume_user(sigset_t *unused, struct sigscratch *scr, long in_syscall) | ^~~~~~~~~~~~~~~~~~~~~ arch/ia64/kernel/process.c:400:17: warning: no previous prototype for 'ia64_clone' [-Wmissing-prototypes] 400 | asmlinkage long ia64_clone(unsigned long clone_flags, unsigned long stack_start, | ^~~~~~~~~~ arch/ia64/kernel/process.c:557:1: warning: no previous prototype for 'cpu_halt' [-Wmissing-prototypes] 557 | cpu_halt (void) | ^~~~~~~~ -- In file included from include/linux/nvmem-provider.h:14, from include/linux/rtc.h:18, from include/linux/efi.h:20, from arch/ia64/include/asm/sal.h:41, from arch/ia64/kernel/sal.c:19: >> include/linux/gpio/consumer.h:362:45: error: unknown type name 'hte_ts_threaded'; did you mean 'hte_ts_threaded_cb_t'? 362 | hte_ts_threaded tcb, | ^~~~~~~~~~~~~~~ | hte_ts_threaded_cb_t arch/ia64/kernel/sal.c:43:29: warning: cast between incompatible function types from 'long int (*)(void)' to 'struct ia64_sal_retval (*)(u64, ...)' {aka 'struct ia64_sal_retval (*)(long long unsigned int, ...)'} [-Wcast-function-type] 43 | ia64_sal_handler ia64_sal = (ia64_sal_handler) default_handler; | ^ -- In file included from include/linux/nvmem-provider.h:14, from include/linux/rtc.h:18, from include/linux/efi.h:20, from arch/ia64/include/asm/sal.h:41, from arch/ia64/kernel/salinfo.c:51: >> include/linux/gpio/consumer.h:362:45: error: unknown type name 'hte_ts_threaded'; did you mean 'hte_ts_threaded_cb_t'? 362 | hte_ts_threaded tcb, | ^~~~~~~~~~~~~~~ | hte_ts_threaded_cb_t arch/ia64/kernel/salinfo.c:212:1: warning: no previous prototype for 'salinfo_log_wakeup' [-Wmissing-prototypes] 212 | salinfo_log_wakeup(int type, u8 *buffer, u64 size, int irqsafe) | ^~~~~~~~~~~~~~~~~~ -- In file included from include/linux/nvmem-provider.h:14, from include/linux/rtc.h:18, from include/linux/efi.h:20, from arch/ia64/kernel/setup.c:49: >> include/linux/gpio/consumer.h:362:45: error: unknown type name 'hte_ts_threaded'; did you mean 'hte_ts_threaded_cb_t'? 362 | hte_ts_threaded tcb, | ^~~~~~~~~~~~~~~ | hte_ts_threaded_cb_t arch/ia64/kernel/setup.c:1074:1: warning: no previous prototype for 'check_bugs' [-Wmissing-prototypes] 1074 | check_bugs (void) | ^~~~~~~~~~ -- In file included from include/linux/nvmem-provider.h:14, from include/linux/rtc.h:18, from include/linux/efi.h:20, from arch/ia64/kernel/time.c:22: >> include/linux/gpio/consumer.h:362:45: error: unknown type name 'hte_ts_threaded'; did you mean 'hte_ts_threaded_cb_t'? 362 | hte_ts_threaded tcb, | ^~~~~~~~~~~~~~~ | hte_ts_threaded_cb_t arch/ia64/kernel/time.c:259:6: warning: no previous prototype for 'ia64_init_itm' [-Wmissing-prototypes] 259 | void ia64_init_itm(void) | ^~~~~~~~~~~~~ arch/ia64/kernel/time.c:396:1: warning: no previous prototype for 'time_init' [-Wmissing-prototypes] 396 | time_init (void) | ^~~~~~~~~ -- In file included from include/linux/nvmem-provider.h:14, from include/linux/rtc.h:18, from include/linux/efi.h:20, from arch/ia64/include/asm/sal.h:41, from arch/ia64/kernel/mca.c:98: >> include/linux/gpio/consumer.h:362:45: error: unknown type name 'hte_ts_threaded'; did you mean 'hte_ts_threaded_cb_t'? 362 | hte_ts_threaded tcb, | ^~~~~~~~~~~~~~~ | hte_ts_threaded_cb_t arch/ia64/kernel/mca.c: In function 'ia64_mca_printk': arch/ia64/kernel/mca.c:212:13: warning: variable 'printed_len' set but not used [-Wunused-but-set-variable] 212 | int printed_len; | ^~~~~~~~~~~ arch/ia64/kernel/mca.c: At top level: arch/ia64/kernel/mca.c:505:1: warning: no previous prototype for 'search_mca_table' [-Wmissing-prototypes] 505 | search_mca_table (const struct mca_table_entry *first, | ^~~~~~~~~~~~~~~~ arch/ia64/kernel/mca.c:608:1: warning: no previous prototype for 'ia64_mca_register_cpev' [-Wmissing-prototypes] 608 | ia64_mca_register_cpev (int cpev) | ^~~~~~~~~~~~~~~~~~~~~~ arch/ia64/kernel/mca.c:1285:1: warning: no previous prototype for 'ia64_mca_handler' [-Wmissing-prototypes] 1285 | ia64_mca_handler(struct pt_regs *regs, struct switch_stack *sw, | ^~~~~~~~~~~~~~~~ .. vim +362 include/linux/gpio/consumer.h 334 335 336 static inline int gpiod_get_direction(const struct gpio_desc *desc) 337 { 338 /* GPIO can never have been requested */ 339 WARN_ON(desc); 340 return -ENOSYS; 341 } 342 static inline int gpiod_direction_input(struct gpio_desc *desc) 343 { 344 /* GPIO can never have been requested */ 345 WARN_ON(desc); 346 return -ENOSYS; 347 } 348 static inline int gpiod_direction_output(struct gpio_desc *desc, int value) 349 { 350 /* GPIO can never have been requested */ 351 WARN_ON(desc); 352 return -ENOSYS; 353 } 354 static inline int gpiod_direction_output_raw(struct gpio_desc *desc, int value) 355 { 356 /* GPIO can never have been requested */ 357 WARN_ON(desc); 358 return -ENOSYS; 359 } 360 static inline int gpiod_req_hw_timestamp_ns(struct gpio_desc *desc, 361 hte_ts_cb_t cb, > 362 hte_ts_threaded tcb, 363 void *data) 364 { 365 WARN_ON(desc); 366 return -ENOSYS; 367 } 368 static inline int gpiod_rel_hw_timestamp_ns(struct gpio_desc *desc) 369 { 370 WARN_ON(desc); 371 return -ENOSYS; 372 } 373 static inline int gpiod_get_value(const struct gpio_desc *desc) 374 { 375 /* GPIO can never have been requested */ 376 WARN_ON(desc); 377 return 0; 378 } 379 static inline int gpiod_get_array_value(unsigned int array_size, 380 struct gpio_desc **desc_array, 381 struct gpio_array *array_info, 382 unsigned long *value_bitmap) 383 { 384 /* GPIO can never have been requested */ 385 WARN_ON(desc_array); 386 return 0; 387 } 388 static inline void gpiod_set_value(struct gpio_desc *desc, int value) 389 { 390 /* GPIO can never have been requested */ 391 WARN_ON(desc); 392 } 393 static inline int gpiod_set_array_value(unsigned int array_size, 394 struct gpio_desc **desc_array, 395 struct gpio_array *array_info, 396 unsigned long *value_bitmap) 397 { 398 /* GPIO can never have been requested */ 399 WARN_ON(desc_array); 400 return 0; 401 } 402 static inline int gpiod_get_raw_value(const struct gpio_desc *desc) 403 { 404 /* GPIO can never have been requested */ 405 WARN_ON(desc); 406 return 0; 407 } 408 static inline int gpiod_get_raw_array_value(unsigned int array_size, 409 struct gpio_desc **desc_array, 410 struct gpio_array *array_info, 411 unsigned long *value_bitmap) 412 { 413 /* GPIO can never have been requested */ 414 WARN_ON(desc_array); 415 return 0; 416 } 417 static inline void gpiod_set_raw_value(struct gpio_desc *desc, int value) 418 { 419 /* GPIO can never have been requested */ 420 WARN_ON(desc); 421 } 422 static inline int gpiod_set_raw_array_value(unsigned int array_size, 423 struct gpio_desc **desc_array, 424 struct gpio_array *array_info, 425 unsigned long *value_bitmap) 426 { 427 /* GPIO can never have been requested */ 428 WARN_ON(desc_array); 429 return 0; 430 } 431 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org