git: kernel/drm: In linux/slab.h, add parentheses around macro parameters.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Oct 29 10:39:09 PDT 2015


commit e0b9e154144a65985dd4d54e4ea548306cc32985
Author: Sascha Wildner <saw at online.de>
Date:   Thu Oct 29 18:36:47 2015 +0100

    kernel/drm: In linux/slab.h, add parentheses around macro parameters.
    
    Such parameters must be in parentheses for numerous good reasons, one
    of which is precedence issues like the one we had in intel_sdvo.c
    before this commit:
    
    msgs = kcalloc(args_len + 3, sizeof(*msgs), GFP_KERNEL);

Summary of changes:
 sys/dev/drm/include/linux/slab.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e0b9e154144a65985dd4d54e4ea548306cc32985


-- 
DragonFly BSD source repository



More information about the Commits mailing list