Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 2015 05:39:33 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r287192 - head/sys/dev/drm2
Message-ID:  <201508270539.t7R5dXQh065195@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Aug 27 05:39:32 2015
New Revision: 287192
URL: https://svnweb.freebsd.org/changeset/base/287192

Log:
  More fixes to the new macros

Modified:
  head/sys/dev/drm2/drmP.h

Modified: head/sys/dev/drm2/drmP.h
==============================================================================
--- head/sys/dev/drm2/drmP.h	Thu Aug 27 05:27:18 2015	(r287191)
+++ head/sys/dev/drm2/drmP.h	Thu Aug 27 05:39:32 2015	(r287192)
@@ -216,25 +216,25 @@ struct drm_device;
 			__func__ , ##__VA_ARGS__);			\
 } while (0)
 
-#define DRM_LOG(fmt, args, ...) do {					\
+#define DRM_LOG(fmt, ...) do {						\
 	if ((drm_debug & DRM_DEBUGBITS_KMS) != 0)			\
-		printf("[" DRM_NAME "]:pid%d:%s]" fmt, DRM_CURRENTPID,\
+		printf("[" DRM_NAME "]:pid%d:%s]" fmt, DRM_CURRENTPID,	\
 			__func__ , ##__VA_ARGS__);			\
 } while (0)
 
-#define DRM_LOG_KMS(fmt, args, ...) do {				\
+#define DRM_LOG_KMS(fmt, ...) do {					\
 	if ((drm_debug & DRM_DEBUGBITS_KMS) != 0)			\
 		printf("[" DRM_NAME "]:KMS:pid%d:%s]" fmt, DRM_CURRENTPID,\
 			__func__ , ##__VA_ARGS__);			\
 } while (0)
 
-#define DRM_LOG_MODE(fmt, args, ...) do {				\
+#define DRM_LOG_MODE(fmt, ...) do {					\
 	if ((drm_debug & DRM_DEBUGBITS_KMS) != 0)			\
 		printf("[" DRM_NAME "]:pid%d:%s]" fmt, DRM_CURRENTPID,	\
 			__func__ , ##__VA_ARGS__);			\
 } while (0)
 
-#define DRM_LOG_DRIVER(fmt, args...) do {				\
+#define DRM_LOG_DRIVER(fmt, ...) do {					\
 	if ((drm_debug & DRM_DEBUGBITS_KMS) != 0)			\
 		printf("[" DRM_NAME "]:KMS:pid%d:%s]" fmt, DRM_CURRENTPID,\
 			__func__ , ##__VA_ARGS__);			\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508270539.t7R5dXQh065195>