linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [drm-misc:for-linux-next 1/10] include/drm/drm_of.h:123:36: error: expected ';', ',' or ')' before 'const'
@ 2022-06-12 12:07 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-06-12 12:07 UTC (permalink / raw)
  To: Marek Vasut; +Cc: kbuild-all, linux-kernel, Andrzej Hajda

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@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 '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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-12 12:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-12 12:07 [drm-misc:for-linux-next 1/10] include/drm/drm_of.h:123:36: error: expected ';', ',' or ')' before 'const' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).