• Nicolas Dichtel's avatar
    cxgb4i: don't redefine DIV_ROUND_UP · 28466e0f
    Nicolas Dichtel authored
    let's use the common definition to avoid the following warning during the
    compilation:
    
    drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:161:0: warning: "DIV_ROUND_UP" redefined
     #define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))
     ^
    In file included from include/linux/list.h:8:0,
                     from include/linux/module.h:9,
                     from drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:16:
    include/linux/kernel.h:67:0: note: this is the location of the previous definition
     #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP
     ^
    Signed-off-by: default avatarNicolas Dichtel <nicolas.dichtel@6wind.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    28466e0f
cxgb4i.c 53.8 KB