summaryrefslogtreecommitdiffstats
path: root/arch/m32r/include/asm/m32r.h
diff options
context:
space:
mode:
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-10-31 18:22:23 +0100
committerChris Metcalf <cmetcalf@mellanox.com>2017-10-31 21:54:03 +0100
commitea82daf4354e45e9b830d9fe58713011c83b07b8 (patch)
tree41ccea2a4be32812991dace793a1cf58a70db0af /arch/m32r/include/asm/m32r.h
parentLinux 4.14-rc4 (diff)
downloadlinux-ea82daf4354e45e9b830d9fe58713011c83b07b8.tar.xz
linux-ea82daf4354e45e9b830d9fe58713011c83b07b8.zip
tile: pass machine size to sparse
By default, sparse assumes a 64bit machine when compiled on x86-64 and 32bit when compiled on anything else. This can of course create all sort of problems, like issuing false warnings like: 'constant ... is so big it is unsigned long long' or 'shift too big (32) for type unsigned long' when the architecture is 64bit while sparse was compiled on a 32bit machine, or worse, to not emit legitimate warnings in the reverse situation. Fix this by passing to sparse the appropriate -m32/-m64 flag. To: Chris Metcalf <cmetcalf@mellanox.com> Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by: Chris Metcalf <cmetcalf@mellanox.com>
Diffstat (limited to 'arch/m32r/include/asm/m32r.h')
0 files changed, 0 insertions, 0 deletions