From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [RFC v2 06/11] gpiolib: Add HTE support
Date: Fri, 01 Oct 2021 17:19:23 +0800 [thread overview]
Message-ID: <202110011709.sTNjCzkn-lkp@intel.com> (raw)
In-Reply-To: <20210930232617.6396-7-dipenp@nvidia.com>
[-- Attachment #1: Type: text/plain, Size: 15328 bytes --]
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 <lkp@intel.com>
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
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 20045 bytes --]
next prev parent reply other threads:[~2021-10-01 9:19 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-30 23:26 [RFC v2 00/11] Intro to Hardware timestamping engine Dipen Patel
2021-09-30 23:26 ` [RFC v2 01/11] Documentation: Add HTE subsystem guide Dipen Patel
2021-10-02 0:18 ` Randy Dunlap
2021-11-03 0:36 ` Dipen Patel
2021-09-30 23:26 ` [RFC v2 02/11] drivers: Add hardware timestamp engine (HTE) Dipen Patel
2021-10-01 23:53 ` Randy Dunlap
2021-11-03 0:37 ` Dipen Patel
2021-09-30 23:26 ` [RFC v2 03/11] hte: Add tegra194 HTE kernel provider Dipen Patel
2021-10-01 23:44 ` Randy Dunlap
2021-10-02 0:07 ` Randy Dunlap
2021-11-03 1:15 ` Dipen Patel
2021-09-30 23:26 ` [RFC v2 04/11] dt-bindings: Add HTE bindings Dipen Patel
2021-10-03 21:53 ` Linus Walleij
2021-10-08 22:11 ` Rob Herring
2021-11-03 21:43 ` Dipen Patel
2021-09-30 23:26 ` [RFC v2 05/11] hte: Add Tegra194 IRQ HTE test driver Dipen Patel
2021-09-30 23:26 ` [RFC v2 06/11] gpiolib: Add HTE support Dipen Patel
2021-10-01 9:19 ` kernel test robot [this message]
2021-10-03 22:01 ` Linus Walleij
2021-09-30 23:26 ` [RFC v2 07/11] gpio: tegra186: Add HTE in gpio-tegra186 driver Dipen Patel
2021-10-08 22:16 ` Rob Herring
2021-11-03 5:05 ` Dipen Patel
2021-09-30 23:26 ` [RFC v2 08/11] gpiolib: cdev: Add hardware timestamp clock type Dipen Patel
2021-10-03 21:59 ` Linus Walleij
2021-10-03 22:09 ` Linus Walleij
2021-09-30 23:26 ` [RFC v2 09/11] tools: gpio: Add new hardware " Dipen Patel
2021-10-03 22:02 ` Linus Walleij
2021-09-30 23:26 ` [RFC v2 10/11] hte: Add tegra GPIO HTE test driver Dipen Patel
2021-10-01 23:47 ` Randy Dunlap
2021-11-03 5:07 ` Dipen Patel
2021-09-30 23:26 ` [RFC v2 11/11] MAINTAINERS: Added HTE Subsystem Dipen Patel
2021-10-02 0:08 ` Randy Dunlap
2021-10-02 4:00 ` Joe Perches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202110011709.sTNjCzkn-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.