All of lore.kernel.org
 help / color / mirror / Atom feed
* [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
@ 2021-12-04 15:58 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-12-04 15:58 UTC (permalink / raw)
  To: kbuild-all

[-- 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

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

only message in thread, other threads:[~2021-12-04 15:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-04 15:58 [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 kernel test robot

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.