* [mda-next:icssg-dev 13/15] hsr_ptp_test.c:297:35: error: unknown type name 'bool'
@ 2026-07-28 10:06 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-28 10:06 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: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
CC: MD Danish Anwar <danishanwar@ti.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mda/linux-next.git icssg-dev
head: 9f0cef2c942f471aa9823635ff26c85e6e667056
commit: 30e1205e7c0df4aa1557ab2718cc402a0c086618 [13/15] selftests: hsr: Add test for the inline PTP header on HSR
:::::: branch date: 5 hours ago
:::::: commit date: 5 hours ago
config: arm64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260728/202607281205.aZmuCDpi-lkp@intel.com/config)
compiler: aarch64-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260728/202607281205.aZmuCDpi-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/202607281205.aZmuCDpi-lkp@intel.com/
Note: the mda-next/icssg-dev HEAD 9f0cef2c942f471aa9823635ff26c85e6e667056 builds fine.
It only hurts bisectability.
All errors (new ones prefixed by >>):
>> hsr_ptp_test.c:297:35: error: unknown type name 'bool'
297 | static int32_t pkt_send(int port, bool hsr_hdr, void *data, int data_len)
| ^~~~
hsr_ptp_test.c:22:1: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
21 | #include <sys/ioctl.h>
+++ |+#include <stdbool.h>
22 |
hsr_ptp_test.c: In function 'main':
>> hsr_ptp_test.c:395:13: error: implicit declaration of function 'pkt_send' [-Wimplicit-function-declaration]
395 | if (pkt_send(PORT_1, false, ptp_packet, sizeof(ptp_packet)) < 0) {
| ^~~~~~~~
>> hsr_ptp_test.c:395:30: error: 'false' undeclared (first use in this function)
395 | if (pkt_send(PORT_1, false, ptp_packet, sizeof(ptp_packet)) < 0) {
| ^~~~~
hsr_ptp_test.c:395:30: note: 'false' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
hsr_ptp_test.c:395:30: note: each undeclared identifier is reported only once for each function it appears in
>> hsr_ptp_test.c:417:30: error: 'true' undeclared (first use in this function)
417 | if (pkt_send(PORT_1, true, ptp_packet, sizeof(ptp_packet)) < 0) {
| ^~~~
hsr_ptp_test.c:417:30: note: 'true' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
--
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:[~2026-07-28 10:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-28 10:06 [mda-next:icssg-dev 13/15] hsr_ptp_test.c:297:35: error: unknown type name 'bool' 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.