[krzk-github:n/dt-bindings-dts-samsung-pinctrl-cleanup 7/10] include/dt-bindings/pinctrl/samsung.h:13:2: warning: #warning "These bindings were deprecated, because they do not match" "the actual bindings but register values." "Instead include the header in the DTS source directory."

From: kernel test robot
Date: Wed May 25 2022 - 04:45:54 EST


tree: https://github.com/krzk/linux n/dt-bindings-dts-samsung-pinctrl-cleanup
head: 4b2c064cabc3a8c762322ec4fa48ccbc92d178cb
commit: 344a48ef864729dc234712c413a8157ca7f73b5f [7/10] dt-bindings: pinctrl: deprecate header with register constants
config: csky-randconfig-r013-20220524 (https://download.01.org/0day-ci/archive/20220525/202205251614.hoErFzuj-lkp@xxxxxxxxx/config)
compiler: csky-linux-gcc (GCC) 11.3.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/krzk/linux/commit/344a48ef864729dc234712c413a8157ca7f73b5f
git remote add krzk-github https://github.com/krzk/linux
git fetch --no-tags krzk-github n/dt-bindings-dts-samsung-pinctrl-cleanup
git checkout 344a48ef864729dc234712c413a8157ca7f73b5f
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=csky SHELL=/bin/bash

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

All warnings (new ones prefixed by >>):

In file included from drivers/pinctrl/samsung/pinctrl-samsung.c:29:
>> include/dt-bindings/pinctrl/samsung.h:13:2: warning: #warning "These bindings were deprecated, because they do not match" "the actual bindings but register values." "Instead include the header in the DTS source directory." [-Wcpp]
13 | #warning "These bindings were deprecated, because they do not match" \
| ^~~~~~~


vim +13 include/dt-bindings/pinctrl/samsung.h

12
> 13 #warning "These bindings were deprecated, because they do not match" \
14 "the actual bindings but register values." \
15 "Instead include the header in the DTS source directory."
16

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