From: kernel test robot <lkp@intel.com>
To: Marek Vasut <marex@denx.de>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org,
Andrzej Hajda <andrzej.hajda@intel.com>
Subject: [drm-misc:for-linux-next 1/10] include/drm/drm_of.h:123:8: error: expected ')'
Date: Sun, 12 Jun 2022 20:18:12 +0800 [thread overview]
Message-ID: <202206122036.5x6mBsak-lkp@intel.com> (raw)
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
reply other threads:[~2022-06-12 12:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202206122036.5x6mBsak-lkp@intel.com \
--to=lkp@intel.com \
--cc=andrzej.hajda@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=marex@denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®