All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [jimc:dd-drm-next 6/8] drivers/gpu/drm/drm_print.c:64:1: warning: declaration specifier missing, defaulting to 'int'
Date: Thu, 05 Aug 2021 03:26:09 +0800	[thread overview]
Message-ID: <202108050303.M8jMBWWf-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2602 bytes --]

tree:   https://github.com/jimc/linux.git dd-drm-next
head:   a2a11ed64801a9198e5009b5c9339f4221105a36
commit: 6c06e72d40a843674784c56443286813bdd7bd83 [6/8] drm/print: add choice to use dynamic debug in drm-debug
config: x86_64-randconfig-a003-20210804 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 4f71f59bf3d9914188a11d0c41bedbb339d36ff5)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/jimc/linux/commit/6c06e72d40a843674784c56443286813bdd7bd83
        git remote add jimc https://github.com/jimc/linux.git
        git fetch --no-tags jimc dd-drm-next
        git checkout 6c06e72d40a843674784c56443286813bdd7bd83
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/drm/

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 >>):

   drivers/gpu/drm/drm_print.c:64:29: error: expected identifier
   DEFINE_DYNDBG_BITMAP(debug, &__drm_debug, DRM_DEBUG_DESC,
                               ^
>> drivers/gpu/drm/drm_print.c:64:1: warning: declaration specifier missing, defaulting to 'int'
   DEFINE_DYNDBG_BITMAP(debug, &__drm_debug, DRM_DEBUG_DESC,
   ^
   int
   drivers/gpu/drm/drm_print.c:64:21: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
   DEFINE_DYNDBG_BITMAP(debug, &__drm_debug, DRM_DEBUG_DESC,
                       ^
   1 warning and 2 errors generated.


vim +/int +64 drivers/gpu/drm/drm_print.c

    60	
    61	#define cmd_help_(key)	\
    62		{ .prefix = key, .help = "'" key "' - help for " key }
    63	
  > 64	DEFINE_DYNDBG_BITMAP(debug, &__drm_debug, DRM_DEBUG_DESC,
    65			     cmd_help_(DRM_DBG_CLASS_CORE),
    66			     cmd_help_(DRM_DBG_CLASS_DRIVER),
    67			     cmd_help_(DRM_DBG_CLASS_KMS),
    68			     cmd_help_(DRM_DBG_CLASS_PRIME),
    69			     cmd_help_(DRM_DBG_CLASS_ATOMIC),
    70			     cmd_help_(DRM_DBG_CLASS_VBL),
    71			     cmd_help_(DRM_DBG_CLASS_STATE),
    72			     cmd_help_(DRM_DBG_CLASS_LEASE),
    73			     cmd_help_(DRM_DBG_CLASS_DP),
    74			     cmd_help_(DRM_DBG_CLASS_DRMRES));
    75	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 37156 bytes --]

                 reply	other threads:[~2021-08-04 19:26 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=202108050303.M8jMBWWf-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.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.