All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Jim Cromie" <jim.cromie@gmail.com>,
	" Łukasz Bartosik" <ukaszb@chromium.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [jimc:submit/dyndbg-classmap-foundation 57/65] drivers/gpu/drm/mediatek/mtk_drm_drv.c:19:1: warning: data definition has no type or storage class
Date: Mon, 20 Apr 2026 17:32:50 +0800	[thread overview]
Message-ID: <202604201710.zVnPRrTX-lkp@intel.com> (raw)

tree:   https://github.com/jimc/linux.git submit/dyndbg-classmap-foundation
head:   2d70490631040349cc146532e1238a579f148957
commit: 466d977cc2a7b9de8a11758e87acf72cee700703 [57/65] drm/mediatek: Register DRM classmap
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20260420/202604201710.zVnPRrTX-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260420/202604201710.zVnPRrTX-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/202604201710.zVnPRrTX-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/mediatek/mtk_drm_drv.c:19:1: warning: data definition has no type or storage class
      19 | DRM_CLASSMAP_USE(drm_debug_classes);
         | ^~~~~~~~~~~~~~~~
   drivers/gpu/drm/mediatek/mtk_drm_drv.c:19:1: error: type defaults to 'int' in declaration of 'DRM_CLASSMAP_USE' [-Wimplicit-int]
   drivers/gpu/drm/mediatek/mtk_drm_drv.c:19:1: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type]


vim +19 drivers/gpu/drm/mediatek/mtk_drm_drv.c

    14	
    15	#include <drm/clients/drm_client_setup.h>
    16	#include <drm/drm_atomic.h>
    17	#include <drm/drm_atomic_helper.h>
    18	#include <drm/drm_drv.h>
  > 19	DRM_CLASSMAP_USE(drm_debug_classes);
    20	#include <drm/drm_fbdev_dma.h>
    21	#include <drm/drm_fourcc.h>
    22	#include <drm/drm_gem.h>
    23	#include <drm/drm_gem_framebuffer_helper.h>
    24	#include <drm/drm_ioctl.h>
    25	#include <drm/drm_of.h>
    26	#include <drm/drm_probe_helper.h>
    27	#include <drm/drm_vblank.h>
    28	

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

                 reply	other threads:[~2026-04-20  9:33 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=202604201710.zVnPRrTX-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jim.cromie@gmail.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=ukaszb@chromium.org \
    /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.