diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2016-03-04 11:52:17 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-04 22:10:36 +0100 |
commit | 28466e0f2463a1084781c9312cd9148b2530eea7 (patch) | |
tree | d5a135b537b3e6a40785a13c4a06c64abe3cf27d /mm/userfaultfd.c | |
parent | uapi: define DIV_ROUND_UP for userland (diff) | |
download | linux-28466e0f2463a1084781c9312cd9148b2530eea7.tar.xz linux-28466e0f2463a1084781c9312cd9148b2530eea7.zip |
cxgb4i: don't redefine DIV_ROUND_UP
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: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/userfaultfd.c')
0 files changed, 0 insertions, 0 deletions