h8300:let the checker know that size_t is ulong
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Wed, 30 May 2018 21:03:43 +0000 (23:03 +0200)
committerYoshinori Sato <ysato@users.sourceforge.jp>
Wed, 22 Aug 2018 10:14:21 +0000 (19:14 +0900)
commit1b803a357d520164404c6262710049b09b93ed5a
treea206fe6676c7b88e9b5d025f49c1a71c3f50c373
parent9819d4e47e88af3d7f082af61b55cb381f23f1a1
h8300:let the checker know that size_t is ulong

All 64bit archs use unsigned long for size_t and most 32bit
archs use 'unsigned int'. By default, this is what is assumed
by sparse.

However, on h8300 (a 32bit arch) size_t is unsigned long which
can led sparse to emit wrong warnings.

Fix this by passing to sparse the flag -msize-long, telling it
that size_t is unsigned long.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
arch/h8300/Makefile