[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202206122034.jCMBsDG7-lkp@intel.com>
Date: Sun, 12 Jun 2022 20:07:49 +0800
From: kernel test robot <lkp@...el.com>
To: Marek Vasut <marex@...x.de>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Andrzej Hajda <andrzej.hajda@...el.com>
Subject: [drm-misc:for-linux-next 1/10] include/drm/drm_of.h:123:36: error:
expected ';', ',' or ')' before 'const'
tree: git://anongit.freedesktop.org/drm/drm-misc for-linux-next
head: d643daaf1694b7565fbe3982b630e1c7b95f1600
commit: fc801750b197d0f00c09e01e59a7dcd240fddcb5 [1/10] drm: of: Add drm_of_get_data_lanes_count and drm_of_get_data_lanes_ep
config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20220612/202206122034.jCMBsDG7-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
git remote add drm-misc git://anongit.freedesktop.org/drm/drm-misc
git fetch --no-tags drm-misc for-linux-next
git checkout fc801750b197d0f00c09e01e59a7dcd240fddcb5
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All error/warnings (new ones prefixed by >>):
In file included from drivers/gpu/drm/drm_bridge.c:31:
>> include/drm/drm_of.h:115:5: warning: no previous prototype for 'drm_of_get_data_lanes_count' [-Wmissing-prototypes]
115 | int drm_of_get_data_lanes_count(const struct device_node *endpoint,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> include/drm/drm_of.h:123:36: error: expected ';', ',' or ')' before 'const'
123 | const unsigned int min,
| ^~~~~
vim +123 include/drm/drm_of.h
114
> 115 int drm_of_get_data_lanes_count(const struct device_node *endpoint,
116 const unsigned int min, const unsigned int max)
117 {
118 return -EINVAL;
119 }
120
121 int drm_of_get_data_lanes_count_ep(const struct device_node *port,
122 int port_reg, int reg
> 123 const unsigned int min,
124 const unsigned int max)
125 {
126 return -EINVAL;
127 }
128 #endif
129
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists