public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* drivers/gpu/drm/vmwgfx/vmwgfx_surface.c:81: warning: Excess struct member 'boxes' description in 'vmw_surface_dirty'
@ 2023-12-15  0:00 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-15  0:00 UTC (permalink / raw)
  To: Kees Cook
  Cc: oe-kbuild-all, linux-kernel, Christian König, Zack Rusin,
	Gustavo A. R. Silva

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   c7402612e2e61b76177f22e6e7f705adcbecc6fe
commit: 45744668746b0bcb36d58a73c2cab603090da9ac drm/vmwgfx: Annotate struct vmw_surface_dirty with __counted_by
date:   2 months ago
config: i386-buildonly-randconfig-004-20231214 (https://download.01.org/0day-ci/archive/20231215/202312150701.kNI9LuM3-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231215/202312150701.kNI9LuM3-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/202312150701.kNI9LuM3-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/vmwgfx/vmwgfx_surface.c:55: warning: Excess struct member 'base' description in 'vmw_user_surface'
>> drivers/gpu/drm/vmwgfx/vmwgfx_surface.c:81: warning: Excess struct member 'boxes' description in 'vmw_surface_dirty'


vim +81 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c

543831cfc97666 Thomas Hellstrom 2012-11-20  70  
9ca7d19ff8ba62 Thomas Hellstrom 2019-03-19  71  /**
cde3435af618c7 Lee Jones        2021-01-15  72   * struct vmw_surface_dirty - Surface dirty-tracker
9ca7d19ff8ba62 Thomas Hellstrom 2019-03-19  73   * @cache: Cached layout information of the surface.
9ca7d19ff8ba62 Thomas Hellstrom 2019-03-19  74   * @num_subres: Number of subresources.
9ca7d19ff8ba62 Thomas Hellstrom 2019-03-19  75   * @boxes: Array of SVGA3dBoxes indicating dirty regions. One per subresource.
9ca7d19ff8ba62 Thomas Hellstrom 2019-03-19  76   */
9ca7d19ff8ba62 Thomas Hellstrom 2019-03-19  77  struct vmw_surface_dirty {
ebc9ac7c3dfe85 Zack Rusin       2021-06-15  78  	struct vmw_surface_cache cache;
9ca7d19ff8ba62 Thomas Hellstrom 2019-03-19  79  	u32 num_subres;
45744668746b0b Kees Cook        2023-09-22  80  	SVGA3dBox boxes[] __counted_by(num_subres);
9ca7d19ff8ba62 Thomas Hellstrom 2019-03-19 @81  };
9ca7d19ff8ba62 Thomas Hellstrom 2019-03-19  82  

:::::: The code at line 81 was first introduced by commit
:::::: 9ca7d19ff8ba6207bccab46536814fe4839df80a drm/vmwgfx: Add surface dirty-tracking callbacks

:::::: TO: Thomas Hellstrom <thellstrom@vmware.com>
:::::: CC: Thomas Hellstrom <thellstrom@vmware.com>

-- 
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:[~2023-12-15  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-15  0:00 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c:81: warning: Excess struct member 'boxes' description in 'vmw_surface_dirty' 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