* [asahilinux:bits/210-gpu 28/198] rust/helpers.c:343:9: error: call to undeclared function 'of_node_is_root'; ISO C99 and later do not support implicit function declarations
@ 2023-07-14 15:08 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-07-14 15:08 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "low confidence bisect report"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Asahi Lina <lina@asahilina.net>
CC: Hector Martin <marcan@marcan.st>
tree: https://github.com/AsahiLinux/linux bits/210-gpu
head: c2bbe7fe79da5dff6da45eb1d4a5a582db740429
commit: 953ef7143b90440101a3facd5767e500af4b878e [28/198] rust: kernel: platform: Add Device.set_dma_masks()
:::::: branch date: 11 hours ago
:::::: commit date: 11 hours ago
config: x86_64-rhel-8.3-rust (https://download.01.org/0day-ci/archive/20230714/202307142200.fxtX1LTA-lkp@intel.com/config)
compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
reproduce: (https://download.01.org/0day-ci/archive/20230714/202307142200.fxtX1LTA-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/r/202307142200.fxtX1LTA-lkp@intel.com/
All errors (new ones prefixed by >>):
>> rust/helpers.c:343:9: error: call to undeclared function 'of_node_is_root'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
>> rust/helpers.c:343:9: error: call to undeclared function 'of_node_is_root'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration], err: true
thread 'main' panicked at 'Unable to generate bindings: ()', /opt/cross/rustc-1.66.0-bindgen-0.56.0/cargo/registry/src/github.com-1ecc6299db9ec823/bindgen-0.56.0/src/main.rs:54:36
stack backtrace:
0: rust_begin_unwind
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/panicking.rs:575:5
1: core::panicking::panic_fmt
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/panicking.rs:65:14
2: core::result::unwrap_failed
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/result.rs:1791:5
3: bindgen::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
vim +/of_node_is_root +343 rust/helpers.c
6560e14efd9648 Asahi Lina 2023-02-16 340
cfdf514776556c Asahi Lina 2022-10-22 341 bool rust_helper_of_node_is_root(const struct device_node *np)
cfdf514776556c Asahi Lina 2022-10-22 342 {
cfdf514776556c Asahi Lina 2022-10-22 @343 return of_node_is_root(np);
cfdf514776556c Asahi Lina 2022-10-22 344 }
cfdf514776556c Asahi Lina 2022-10-22 345 EXPORT_SYMBOL_GPL(rust_helper_of_node_is_root);
cfdf514776556c Asahi Lina 2022-10-22 346
:::::: The code at line 343 was first introduced by commit
:::::: cfdf514776556c3c85668decf0b602a7d5b3fc14 rust: of: Add OF node abstraction
:::::: TO: Asahi Lina <lina@asahilina.net>
:::::: CC: Hector Martin <marcan@marcan.st>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-14 15:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-14 15:08 [asahilinux:bits/210-gpu 28/198] rust/helpers.c:343:9: error: call to undeclared function 'of_node_is_root'; ISO C99 and later do not support implicit function declarations kernel test robot
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.