diff options
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-05-30 23:03:43 +0200 |
---|---|---|
committer | Yoshinori Sato <ysato@users.sourceforge.jp> | 2018-08-22 19:14:21 +0900 |
commit | 1b803a357d520164404c6262710049b09b93ed5a (patch) | |
tree | a206fe6676c7b88e9b5d025f49c1a71c3f50c373 /tools/perf/scripts/python | |
parent | 9819d4e47e88af3d7f082af61b55cb381f23f1a1 (diff) |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions