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-redux 6/7] htmldocs: include/drm/drm_print.h:502: warning: expecting prototype for DRM debug API(). Prototype was for DRM_DEV_DEBUG() instead
Date: Sat, 04 Dec 2021 23:58:40 +0800	[thread overview]
Message-ID: <202112042311.TmCaRTDP-lkp@intel.com> (raw)

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

tree:   https://github.com/jimc/linux.git dd-drm-redux
head:   e8741b85e05eb5afd59d79249408a05332a64936
commit: 8f1683188ebfa4b6b27ad7448645b3f0ac6f4d06 [6/7] drm_print: add choice to use dynamic debug in drm-debug
reproduce: make htmldocs

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

include/drm/drm_print.h:502: warning: expecting prototype for DRM debug API(). Prototype was for DRM_DEV_DEBUG() instead

vim +502 include/drm/drm_print.h

   482	
   483	/**
   484	 * DRM debug API - library of macros to issue categorized syslog messages
   485	 *
   486	 * multiple flavors::
   487	 * - DRM_DEV_DEBUG<,_DRIVER,_KMS>
   488	 * - drm_dbg_<core,kms,prime,atomic,vbl,state,lease,dp,drmres>	(prefer these)
   489	 * - DRM_DEBUG<,_DRIVER,_KMS,_PRIME,_ATOMIC,_VBL,_LEASE,_DP>	(over these)
   490	 * - DRM_DEBUG_KMS_RATELIMITED
   491	 */
   492	
   493	/**
   494	 * DRM_DEV_DEBUG() - Debug output for generic drm code
   495	 *
   496	 * NOTE: this is deprecated in favor of drm_dbg_core().
   497	 *
   498	 * @dev: device pointer
   499	 * @fmt: printf() like format string.
   500	 */
   501	#define DRM_DEV_DEBUG(dev, fmt, ...)					\
 > 502		drm_dev_dbg(dev, DRM_DBG_CAT_CORE, fmt, ##__VA_ARGS__)
   503	/**
   504	 * DRM_DEV_DEBUG_DRIVER() - Debug output for vendor specific part of the driver
   505	 *
   506	 * NOTE: this is deprecated in favor of drm_dbg() or dev_dbg().
   507	 *
   508	 * @dev: device pointer
   509	 * @fmt: printf() like format string.
   510	 */
   511	#define DRM_DEV_DEBUG_DRIVER(dev, fmt, ...)				\
   512		drm_dev_dbg(dev, DRM_DBG_CAT_DRIVER, fmt, ##__VA_ARGS__)
   513	/**
   514	 * DRM_DEV_DEBUG_KMS() - Debug output for modesetting code
   515	 *
   516	 * NOTE: this is deprecated in favor of drm_dbg_kms().
   517	 *
   518	 * @dev: device pointer
   519	 * @fmt: printf() like format string.
   520	 */
   521	#define DRM_DEV_DEBUG_KMS(dev, fmt, ...)				\
   522		drm_dev_dbg(dev, DRM_DBG_CAT_KMS, fmt, ##__VA_ARGS__)
   523	

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

                 reply	other threads:[~2021-12-04 15:58 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=202112042311.TmCaRTDP-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.