diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2002-08-29 07:34:49 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2002-08-29 07:34:49 +0000 |
commit | 4fcde1efc16ef0849c7aa61d568ef5577e2f1920 (patch) | |
tree | a8e8ef7e3419f0a327ff97714cbff677b536308b /linux | |
parent | 22c1ca1fd5116d55c81bbfdeccd995dc19572a8f (diff) |
standardize use of __FUNCTION__ (Linus)
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drmP.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/drmP.h b/linux/drmP.h index f31c5c3d..799251c4 100644 --- a/linux/drmP.h +++ b/linux/drmP.h @@ -201,9 +201,9 @@ static inline struct page * vmalloc_to_page(void * vmalloc_addr) /* Macros to make printk easier */ #define DRM_ERROR(fmt, arg...) \ - printk(KERN_ERR "[" DRM_NAME ":" __FUNCTION__ "] *ERROR* " fmt , ##arg) + printk(KERN_ERR "[" DRM_NAME ":%s] *ERROR* " fmt , __FUNCTION__ , ##arg) #define DRM_MEM_ERROR(area, fmt, arg...) \ - printk(KERN_ERR "[" DRM_NAME ":" __FUNCTION__ ":%s] *ERROR* " fmt , \ + printk(KERN_ERR "[" DRM_NAME ":%s:%s] *ERROR* " fmt , __FUNCTION__, \ DRM(mem_stats)[area].name , ##arg) #define DRM_INFO(fmt, arg...) printk(KERN_INFO "[" DRM_NAME "] " fmt , ##arg) @@ -212,8 +212,8 @@ static inline struct page * vmalloc_to_page(void * vmalloc_addr) do { \ if ( DRM(flags) & DRM_FLAG_DEBUG ) \ printk(KERN_DEBUG \ - "[" DRM_NAME ":" __FUNCTION__ "] " fmt , \ - ##arg); \ + "[" DRM_NAME ":%s] " fmt , \ + __FUNCTION__ , ##arg); \ } while (0) #else #define DRM_DEBUG(fmt, arg...) do { } while (0) |