mirror of
https://github.com/opnsense/src.git
synced 2026-04-20 21:59:20 -04:00
More fixes to the new macros
This commit is contained in:
parent
43eb73d456
commit
de84ba19e3
1 changed files with 14 additions and 14 deletions
|
|
@ -216,25 +216,25 @@ struct drm_device;
|
|||
__func__ , ##__VA_ARGS__); \
|
||||
} while (0)
|
||||
|
||||
#define DRM_LOG(fmt, args, ...) 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_KMS(fmt, args, ...) 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(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_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, ...) 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, ...) do { \
|
||||
if ((drm_debug & DRM_DEBUGBITS_KMS) != 0) \
|
||||
printf("[" DRM_NAME "]:KMS:pid%d:%s]" fmt, DRM_CURRENTPID,\
|
||||
__func__ , ##__VA_ARGS__); \
|
||||
|
|
|
|||
Loading…
Reference in a new issue