From: kernel test robot <lkp@intel.com>
To: Chenyang Li <lichenyang@loongson.cn>,
Maxime Ripard <mripard@kernel.org>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Thomas Zimmermann <tzimmermann@suse.de>,
Dan Carpenter <error27@gmail.com>,
David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
dri-devel@lists.freedesktop.org, devel@linuxdriverproject.org
Cc: Yi Li <liyi@loongson.cn>, Huacai Chen <chenhuacai@kernel.org>,
kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Sam Ravnborg <sam@ravnborg.org>
Subject: Re: [PATCH v7 2/4] drm/loongson: Add GPIO and I2C driver for loongson drm.
Date: Sat, 23 Apr 2022 00:43:49 +0800 [thread overview]
Message-ID: <202204230046.2fBNTJrK-lkp@intel.com> (raw)
In-Reply-To: <20220422081459.682700-1-lichenyang@loongson.cn>
Hi Chenyang,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on drm/drm-next]
[also build test WARNING on v5.18-rc3 next-20220422]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/intel-lab-lkp/linux/commits/Chenyang-Li/drm-loongson-Add-DRM-Driver-for-Loongson-7A1000-bridge-chip/20220422-161914
base: git://anongit.freedesktop.org/drm/drm drm-next
config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20220423/202204230046.2fBNTJrK-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 11.2.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/intel-lab-lkp/linux/commit/4a5b6ac99c37617e030a054ca431c5c9aab227b8
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Chenyang-Li/drm-loongson-Add-DRM-Driver-for-Loongson-7A1000-bridge-chip/20220422-161914
git checkout 4a5b6ac99c37617e030a054ca431c5c9aab227b8
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/gpu/drm/loongson/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/loongson/loongson_encoder.c:10:27: warning: no previous prototype for 'loongson_bridge_detect' [-Wmissing-prototypes]
10 | enum drm_connector_status loongson_bridge_detect(struct drm_bridge *bridge)
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/loongson_bridge_detect +10 drivers/gpu/drm/loongson/loongson_encoder.c
9
> 10 enum drm_connector_status loongson_bridge_detect(struct drm_bridge *bridge)
11 {
12 unsigned char start = 0x0;
13 struct i2c_msg msgs = {
14 .addr = DDC_ADDR,
15 .flags = 0,
16 .len = 1,
17 .buf = &start,
18 };
19
20 if (i2c_transfer(bridge->ddc, &msgs, 1) != 1)
21 return connector_status_disconnected;
22 else
23 return connector_status_connected;
24 }
25
--
0-DAY CI Kernel Test Service
https://01.org/lkp
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Chenyang Li <lichenyang@loongson.cn>,
Maxime Ripard <mripard@kernel.org>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Thomas Zimmermann <tzimmermann@suse.de>,
Dan Carpenter <error27@gmail.com>,
David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
dri-devel@lists.freedesktop.org, devel@linuxdriverproject.org
Cc: kbuild-all@lists.01.org, Yi Li <liyi@loongson.cn>,
Huacai Chen <chenhuacai@kernel.org>,
Sam Ravnborg <sam@ravnborg.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v7 2/4] drm/loongson: Add GPIO and I2C driver for loongson drm.
Date: Sat, 23 Apr 2022 00:43:49 +0800 [thread overview]
Message-ID: <202204230046.2fBNTJrK-lkp@intel.com> (raw)
In-Reply-To: <20220422081459.682700-1-lichenyang@loongson.cn>
Hi Chenyang,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on drm/drm-next]
[also build test WARNING on v5.18-rc3 next-20220422]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/intel-lab-lkp/linux/commits/Chenyang-Li/drm-loongson-Add-DRM-Driver-for-Loongson-7A1000-bridge-chip/20220422-161914
base: git://anongit.freedesktop.org/drm/drm drm-next
config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20220423/202204230046.2fBNTJrK-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 11.2.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/intel-lab-lkp/linux/commit/4a5b6ac99c37617e030a054ca431c5c9aab227b8
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Chenyang-Li/drm-loongson-Add-DRM-Driver-for-Loongson-7A1000-bridge-chip/20220422-161914
git checkout 4a5b6ac99c37617e030a054ca431c5c9aab227b8
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/gpu/drm/loongson/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/loongson/loongson_encoder.c:10:27: warning: no previous prototype for 'loongson_bridge_detect' [-Wmissing-prototypes]
10 | enum drm_connector_status loongson_bridge_detect(struct drm_bridge *bridge)
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/loongson_bridge_detect +10 drivers/gpu/drm/loongson/loongson_encoder.c
9
> 10 enum drm_connector_status loongson_bridge_detect(struct drm_bridge *bridge)
11 {
12 unsigned char start = 0x0;
13 struct i2c_msg msgs = {
14 .addr = DDC_ADDR,
15 .flags = 0,
16 .len = 1,
17 .buf = &start,
18 };
19
20 if (i2c_transfer(bridge->ddc, &msgs, 1) != 1)
21 return connector_status_disconnected;
22 else
23 return connector_status_connected;
24 }
25
--
0-DAY CI Kernel Test Service
https://01.org/lkp
next prev parent reply other threads:[~2022-04-22 16:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-22 8:14 [PATCH v7 2/4] drm/loongson: Add GPIO and I2C driver for loongson drm Chenyang Li
2022-04-22 16:43 ` kernel test robot [this message]
2022-04-22 16:43 ` kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2022-06-25 9:07 [PATCH v7 1/4] drm/loongson: Add DRM Driver for Loongson 7A1000 bridge chip Chenyang Li
2022-06-25 9:07 ` [PATCH v7 2/4] drm/loongson: Add GPIO and I2C driver for loongson drm Chenyang Li
2022-06-25 12:39 ` kernel test robot
2022-06-25 12:39 ` kernel test robot
2022-07-11 14:43 ` kernel test robot
2022-07-11 14:43 ` kernel test robot
2022-09-06 12:00 ` 李晨阳
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=202204230046.2fBNTJrK-lkp@intel.com \
--to=lkp@intel.com \
--cc=airlied@linux.ie \
--cc=chenhuacai@kernel.org \
--cc=daniel@ffwll.ch \
--cc=devel@linuxdriverproject.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=error27@gmail.com \
--cc=kbuild-all@lists.01.org \
--cc=lichenyang@loongson.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=liyi@loongson.cn \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=sam@ravnborg.org \
--cc=tzimmermann@suse.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.