From: kernel test robot <lkp@intel.com>
To: Sui Jingfeng <15330273260@189.cn>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>,
suijingfeng <suijingfeng@loongson.cn>,
Sumit Semwal <sumit.semwal@linaro.org>,
Christian Koenig <christian.koenig@amd.com>
Cc: oe-kbuild-all@lists.linux.dev, linaro-mm-sig@lists.linaro.org,
Li Yi <liyi@loongson.cn>,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
linux-media@vger.kernel.org
Subject: Re: [PATCH v7 2/2] drm: add kms driver for loongson display controller
Date: Thu, 16 Mar 2023 17:53:08 +0800 [thread overview]
Message-ID: <202303161727.8HnBf6cW-lkp@intel.com> (raw)
In-Reply-To: <20230315211550.2620818-3-15330273260@189.cn>
Hi Sui,
I love your patch! Perhaps something to improve:
[auto build test WARNING on drm-misc/drm-misc-next]
[also build test WARNING on linus/master v6.3-rc2 next-20230316]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Sui-Jingfeng/MAINTAINERS-add-maintainers-for-DRM-LOONGSON-driver/20230316-051724
base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
patch link: https://lore.kernel.org/r/20230315211550.2620818-3-15330273260%40189.cn
patch subject: [PATCH v7 2/2] drm: add kms driver for loongson display controller
config: arm-allmodconfig (https://download.01.org/0day-ci/archive/20230316/202303161727.8HnBf6cW-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.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/ba899dba3475b9612f212e3b1daedc3d9a299458
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Sui-Jingfeng/MAINTAINERS-add-maintainers-for-DRM-LOONGSON-driver/20230316-051724
git checkout ba899dba3475b9612f212e3b1daedc3d9a299458
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/gpu/drm/loongson/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303161727.8HnBf6cW-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/gpu/drm/loongson/lsdc_gem.c: In function 'lsdc_show_buffer_object':
>> drivers/gpu/drm/loongson/lsdc_gem.c:280:51: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
280 | seq_printf(m, "bo[%04u]: size: %8lukB %s\n",
| ~~~^
| |
| long unsigned int
| %8u
281 | i,
282 | lsdc_bo_size(tbo) >> 10,
| ~~~~~~~~~~~~~~~~~~~~~~~
| |
| size_t {aka unsigned int}
vim +280 drivers/gpu/drm/loongson/lsdc_gem.c
264
265 int lsdc_show_buffer_object(struct seq_file *m, void *arg)
266 {
267 #ifdef CONFIG_DEBUG_FS
268 struct drm_info_node *node = (struct drm_info_node *)m->private;
269 struct drm_device *ddev = node->minor->dev;
270 struct lsdc_device *ldev = to_lsdc(ddev);
271 struct lsdc_bo *lbo;
272 unsigned int i = 0;
273
274 mutex_lock(&ldev->gem.mutex);
275
276 list_for_each_entry(lbo, &ldev->gem.objects, list) {
277 struct ttm_buffer_object *tbo = &lbo->tbo;
278 struct ttm_resource *resource = tbo->resource;
279
> 280 seq_printf(m, "bo[%04u]: size: %8lukB %s\n",
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
next prev parent reply other threads:[~2023-03-16 9:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-15 21:15 [PATCH v7 0/2] drm: add kms driver for loongson display controller Sui Jingfeng
2023-03-15 21:15 ` [PATCH v7 1/2] MAINTAINERS: add maintainers for DRM LOONGSON driver Sui Jingfeng
2023-03-15 21:15 ` [PATCH v7 2/2] drm: add kms driver for loongson display controller Sui Jingfeng
2023-03-16 7:18 ` Christian König
2023-03-16 8:46 ` Sui jingfeng
2023-03-16 10:12 ` Sui jingfeng
2023-03-20 6:59 ` Sui jingfeng
2023-03-16 9:53 ` kernel test robot [this message]
2023-03-16 10:17 ` Sui jingfeng
2023-03-17 2:19 ` Sui jingfeng
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=202303161727.8HnBf6cW-lkp@intel.com \
--to=lkp@intel.com \
--cc=15330273260@189.cn \
--cc=airlied@gmail.com \
--cc=christian.koenig@amd.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=linaro-mm-sig@lists.linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=liyi@loongson.cn \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=suijingfeng@loongson.cn \
--cc=sumit.semwal@linaro.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox