[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 Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx/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@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404260318.H7uZPwSq-lkp@xxxxxxxxx/

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@xxxxxx>
:::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux