diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2017-11-08 13:18:29 +0300 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2017-11-09 00:11:20 +0300 |
commit | ead7a22e9b6eff225afb127f8835a1d3da271a89 (patch) | |
tree | 296023c7e837c5cfecc4f0ee935232161e9472ae /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 8bc1e4ec79c0fcd48ff8914566fe960c34f27bc2 (diff) | |
download | linux-ead7a22e9b6eff225afb127f8835a1d3da271a89.tar.xz |
s390: avoid undefined behaviour
At a couple of places smatch emits warnings like this:
arch/s390/mm/vmem.c:409 vmem_map_init() warn:
right shifting more than type allows
In fact shifting a signed type right is undefined. Avoid this and add
an unsigned long cast. The shifted values are always positive.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions