From: kernel test robot <lkp@intel.com>
To: Jani Nikula <jani.nikula@intel.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
dri-devel@lists.freedesktop.org,
Andrzej Hajda <andrzej.hajda@intel.com>
Subject: [drm-misc:for-linux-next 2/2] drivers/gpu/drm/omapdrm/omap_fb.c:325:2: error: implicit declaration of function 'seq_printf' is invalid in C99
Date: Fri, 26 Apr 2024 03:50:39 +0800 [thread overview]
Message-ID: <202404260318.H7uZPwSq-lkp@intel.com> (raw)
tree: git://anongit.freedesktop.org/drm/drm-misc for-linux-next
head: 2bdb481bf7a93c22b9fea8daefa2834aab23a70f
commit: 9e2b84fb6cd7ee913aa61d461db65c1d6a08dcf2 [2/2] drm/print: drop include seq_file.h
config: arm-defconfig (https://download.01.org/0day-ci/archive/20240426/202404260318.H7uZPwSq-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240426/202404260318.H7uZPwSq-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404260318.H7uZPwSq-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/omapdrm/omap_fb.c:325:2: error: implicit declaration of function 'seq_printf' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
seq_printf(m, "fb: %dx%d@%4.4s\n", fb->width, fb->height,
^
1 error generated.
vim +/seq_printf +325 drivers/gpu/drm/omapdrm/omap_fb.c
b33f34d3d10b9b drivers/staging/omapdrm/omap_fb.c Rob Clark 2012-03-05 319
f6b6036e56ca17 drivers/staging/omapdrm/omap_fb.c Rob Clark 2012-03-05 320 #ifdef CONFIG_DEBUG_FS
f6b6036e56ca17 drivers/staging/omapdrm/omap_fb.c Rob Clark 2012-03-05 321 void omap_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m)
f6b6036e56ca17 drivers/staging/omapdrm/omap_fb.c Rob Clark 2012-03-05 322 {
bcb0b461454c9c drivers/gpu/drm/omapdrm/omap_fb.c Ville Syrjälä 2016-12-14 323 int i, n = fb->format->num_planes;
f6b6036e56ca17 drivers/staging/omapdrm/omap_fb.c Rob Clark 2012-03-05 324
f6b6036e56ca17 drivers/staging/omapdrm/omap_fb.c Rob Clark 2012-03-05 @325 seq_printf(m, "fb: %dx%d@%4.4s\n", fb->width, fb->height,
438b74a5497c36 drivers/gpu/drm/omapdrm/omap_fb.c Ville Syrjälä 2016-12-14 326 (char *)&fb->format->format);
f6b6036e56ca17 drivers/staging/omapdrm/omap_fb.c Rob Clark 2012-03-05 327
f6b6036e56ca17 drivers/staging/omapdrm/omap_fb.c Rob Clark 2012-03-05 328 for (i = 0; i < n; i++) {
f6b6036e56ca17 drivers/staging/omapdrm/omap_fb.c Rob Clark 2012-03-05 329 seq_printf(m, " %d: offset=%d pitch=%d, obj: ",
2ecceeb53b1945 drivers/gpu/drm/omapdrm/omap_fb.c Daniel Stone 2018-03-30 330 i, fb->offsets[n], fb->pitches[i]);
3e44255260dc3c drivers/gpu/drm/omapdrm/omap_fb.c Daniel Stone 2018-03-30 331 omap_gem_describe(fb->obj[i], m);
f6b6036e56ca17 drivers/staging/omapdrm/omap_fb.c Rob Clark 2012-03-05 332 }
f6b6036e56ca17 drivers/staging/omapdrm/omap_fb.c Rob Clark 2012-03-05 333 }
f6b6036e56ca17 drivers/staging/omapdrm/omap_fb.c Rob Clark 2012-03-05 334 #endif
f6b6036e56ca17 drivers/staging/omapdrm/omap_fb.c Rob Clark 2012-03-05 335
:::::: The code at line 325 was first introduced by commit
:::::: f6b6036e56ca17378dd0294b684db623abd6a901 staging: drm/omap: debugfs for object and fb tracking
:::::: TO: Rob Clark <rob@ti.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-04-25 19:51 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=202404260318.H7uZPwSq-lkp@intel.com \
--to=lkp@intel.com \
--cc=andrzej.hajda@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/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.