linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [jsarha:topic/cros-sof-v4.19 1170/6555] drivers/gpu/drm/vkms/vkms_drv.h:23:18: warning: 'vkms_cursor_formats' defined but not used
@ 2022-05-10 10:27 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-05-10 10:27 UTC (permalink / raw)
  To: Haneen Mohammed
  Cc: kbuild-all, linux-kernel, Daniel Vetter, Sean Paul,
	Stéphane Marchesin, Kristian H. Kristensen

tree:   https://github.com/jsarha/linux topic/cros-sof-v4.19
head:   d7a3e91d8d16d1ef8653deec5a1fffc4de034a0c
commit: ad949a53c5680265ac89dff6003c02178891e079 [1170/6555] UPSTREAM: drm/vkms: Add cursor plane support
config: i386-randconfig-a001-20220509 (https://download.01.org/0day-ci/archive/20220510/202205101800.K4r0yQWF-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
        # https://github.com/jsarha/linux/commit/ad949a53c5680265ac89dff6003c02178891e079
        git remote add jsarha https://github.com/jsarha/linux
        git fetch --no-tags jsarha topic/cros-sof-v4.19
        git checkout ad949a53c5680265ac89dff6003c02178891e079
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   In file included from drivers/gpu/drm/vkms/vkms_drv.c:8:
   include/linux/module.h:134:13: warning: 'init_module' specifies less restrictive attribute than its target 'vkms_init': 'cold' [-Wmissing-attributes]
     134 |         int init_module(void) __attribute__((alias(#initfn)));
         |             ^~~~~~~~~~~
   drivers/gpu/drm/vkms/vkms_drv.c:151:1: note: in expansion of macro 'module_init'
     151 | module_init(vkms_init);
         | ^~~~~~~~~~~
   drivers/gpu/drm/vkms/vkms_drv.c:90:19: note: 'init_module' target declared here
      90 | static int __init vkms_init(void)
         |                   ^~~~~~~~~
   In file included from drivers/gpu/drm/vkms/vkms_drv.c:8:
   include/linux/module.h:140:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'vkms_exit': 'cold' [-Wmissing-attributes]
     140 |         void cleanup_module(void) __attribute__((alias(#exitfn)));
         |              ^~~~~~~~~~~~~~
   drivers/gpu/drm/vkms/vkms_drv.c:152:1: note: in expansion of macro 'module_exit'
     152 | module_exit(vkms_exit);
         | ^~~~~~~~~~~
   drivers/gpu/drm/vkms/vkms_drv.c:138:20: note: 'cleanup_module' target declared here
     138 | static void __exit vkms_exit(void)
         |                    ^~~~~~~~~
   In file included from drivers/gpu/drm/vkms/vkms_drv.c:14:
>> drivers/gpu/drm/vkms/vkms_drv.h:23:18: warning: 'vkms_cursor_formats' defined but not used [-Wunused-const-variable=]
      23 | static const u32 vkms_cursor_formats[] = {
         |                  ^~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/vkms/vkms_drv.h:19:18: warning: 'vkms_formats' defined but not used [-Wunused-const-variable=]
      19 | static const u32 vkms_formats[] = {
         |                  ^~~~~~~~~~~~
--
   In file included from drivers/gpu/drm/vkms/vkms_output.c:9:
>> drivers/gpu/drm/vkms/vkms_drv.h:23:18: warning: 'vkms_cursor_formats' defined but not used [-Wunused-const-variable=]
      23 | static const u32 vkms_cursor_formats[] = {
         |                  ^~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/vkms/vkms_drv.h:19:18: warning: 'vkms_formats' defined but not used [-Wunused-const-variable=]
      19 | static const u32 vkms_formats[] = {
         |                  ^~~~~~~~~~~~
--
   drivers/gpu/drm/vkms/vkms_crtc.c: In function 'vkms_vblank_simulate':
   drivers/gpu/drm/vkms/vkms_crtc.c:47:13: warning: variable 'ret_overrun' set but not used [-Wunused-but-set-variable]
      47 |         int ret_overrun;
         |             ^~~~~~~~~~~
   In file included from drivers/gpu/drm/vkms/vkms_crtc.c:9:
   At top level:
>> drivers/gpu/drm/vkms/vkms_drv.h:23:18: warning: 'vkms_cursor_formats' defined but not used [-Wunused-const-variable=]
      23 | static const u32 vkms_cursor_formats[] = {
         |                  ^~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/vkms/vkms_drv.h:19:18: warning: 'vkms_formats' defined but not used [-Wunused-const-variable=]
      19 | static const u32 vkms_formats[] = {
         |                  ^~~~~~~~~~~~


vim +/vkms_cursor_formats +23 drivers/gpu/drm/vkms/vkms_drv.h

    22	
  > 23	static const u32 vkms_cursor_formats[] = {
    24		DRM_FORMAT_ARGB8888,
    25	};
    26	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

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

only message in thread, other threads:[~2022-05-10 10:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-10 10:27 [jsarha:topic/cros-sof-v4.19 1170/6555] drivers/gpu/drm/vkms/vkms_drv.h:23:18: warning: 'vkms_cursor_formats' defined but not used 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 NNTP newsgroup(s).