Messages in this thread | | | Date | Sun, 12 Jun 2022 20:18:12 +0800 | From | kernel test robot <> | Subject | [drm-misc:for-linux-next 1/10] include/drm/drm_of.h:123:8: error: expected ')' |
| |
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: hexagon-randconfig-r041-20220612 (https://download.01.org/0day-ci/archive/20220612/202206122036.5x6mBsak-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 6466c9abf3674bade1f6ee859f24ebc7aaf9cd88) 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 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 COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/gpu/drm/
If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@intel.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 function 'drm_of_get_data_lanes_count' [-Wmissing-prototypes] int drm_of_get_data_lanes_count(const struct device_node *endpoint, ^ include/drm/drm_of.h:115:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int drm_of_get_data_lanes_count(const struct device_node *endpoint, ^ static >> include/drm/drm_of.h:123:8: error: expected ')' const unsigned int min, ^ include/drm/drm_of.h:121:35: note: to match this '(' int drm_of_get_data_lanes_count_ep(const struct device_node *port, ^ >> include/drm/drm_of.h:121:5: warning: no previous prototype for function 'drm_of_get_data_lanes_count_ep' [-Wmissing-prototypes] int drm_of_get_data_lanes_count_ep(const struct device_node *port, ^ include/drm/drm_of.h:121:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int drm_of_get_data_lanes_count_ep(const struct device_node *port, ^ static 2 warnings and 1 error generated.
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
| |