dri-devel Archive mirror
 help / color / mirror / Atom feed
* [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
@ 2024-04-25 19:50 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-04-25 19:50 UTC (permalink / raw
  To: Jani Nikula; +Cc: llvm, oe-kbuild-all, dri-devel, Andrzej Hajda

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

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

only message in thread, other threads:[~2024-04-25 19:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-25 19:50 [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 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 read-only IMAP folder(s) and NNTP newsgroup(s).