git: drm: Properly initialize drm_debug_flag

Francois Tigeot ftigeot at crater.dragonflybsd.org
Tue Jul 30 12:56:47 PDT 2013


commit 064f3b9398e71dfb223598bc1e9c1902a7e5c886
Author: glebius <glebius at FreeBSD.org>
Date:   Fri Nov 2 05:26:33 2012 +0000

    drm: Properly initialize drm_debug_flag
    
    - If DRM_DEBUG_DEFAULT_ON is defined, then initialize drm_debug_flagi to
      all supported debugging bits.
    - If DRM_DEBUG_DEFAULT_ON isn't defined, then initialize drm_debug_flag
      to zero.
    
    DRM_DEBUG_DEFAULT_ON is defined when module is build with -DDEBUG_DRM
    or if kernel config has 'options DEBUG_DRM'.
    
    Reviewed by:	kib

Summary of changes:
 sys/dev/drm2/drm_drv.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/064f3b9398e71dfb223598bc1e9c1902a7e5c886


-- 
DragonFly BSD source repository



More information about the Commits mailing list