[hverkuil-media-tree:extron 101/124] ./usr/include/linux/cec.h:150:19: error: unknown type name 'bool'

From: kernel test robot
Date: Thu Apr 07 2022 - 00:28:32 EST


Hi Hans,

FYI, the error/warning still remains.

tree: git://linuxtv.org/hverkuil/media_tree.git extron
head: b74048be758a379d7414219b0223bc85b848ccc7
commit: d679f6adf24b7fef91e8a3b3584b48587e9cf0a2 [101/124] cec.h: add cec_msg_recv_is_tx_result() helper
config: x86_64-randconfig-a006 (https://download.01.org/0day-ci/archive/20220407/202204071243.QQM5gyph-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.2.0-19) 11.2.0
reproduce (this is a W=1 build):
git remote add hverkuil-media-tree git://linuxtv.org/hverkuil/media_tree.git
git fetch --no-tags hverkuil-media-tree extron
git checkout d679f6adf24b7fef91e8a3b3584b48587e9cf0a2
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

In file included from ./usr/include/linux/cec-funcs.h:11,
from <command-line>:
>> ./usr/include/linux/cec.h:150:19: error: unknown type name 'bool'
150 | static __inline__ bool cec_msg_recv_is_tx_result(const struct cec_msg *msg)
| ^~~~

--
0-DAY CI Kernel Test Service
https://01.org/lkp