• Luc Van Oostenryck's avatar
    tile: pass machine size to sparse · ea82daf4
    Luc Van Oostenryck authored
    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: default avatarLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
    Signed-off-by: default avatarChris Metcalf <cmetcalf@mellanox.com>
    ea82daf4
Name
Last commit
Last update
..
alpha Loading commit data...
arc Loading commit data...
arm Loading commit data...
arm64 Loading commit data...
blackfin Loading commit data...
c6x Loading commit data...
cris Loading commit data...
frv Loading commit data...
h8300 Loading commit data...
hexagon Loading commit data...
ia64 Loading commit data...
m32r Loading commit data...
m68k Loading commit data...
metag Loading commit data...
microblaze Loading commit data...
mips Loading commit data...
mn10300 Loading commit data...
nios2 Loading commit data...
openrisc Loading commit data...
parisc Loading commit data...
powerpc Loading commit data...
s390 Loading commit data...
score Loading commit data...
sh Loading commit data...
sparc Loading commit data...
tile Loading commit data...
um Loading commit data...
unicore32 Loading commit data...
x86 Loading commit data...
xtensa Loading commit data...
.gitignore Loading commit data...
Kconfig Loading commit data...