diff options
| author | Matthias Kaehlcke <[email protected]> | 2017-03-13 11:57:25 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-03-17 15:10:49 +0900 |
| commit | 5cd5e6ad0ede862432e1e766bfe02a9ad447533e (patch) | |
| tree | ebb4c090194f4c6622725d63d450ca88c54074b4 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 6c4e976785011dfbe461821d0bfc58cfd60eac56 (diff) | |
hpet: Make cmd parameter of hpet_ioctl_common() unsigned
The value passed by the two callers of the function is unsigned anyway.
Making the parameter unsigned fixes the following warning when building
with clang:
drivers/char/hpet.c:588:7: error: overflow converting case value to switch condition type (2149083139 to 18446744071563667459) [-Werror,-Wswitch]
case HPET_INFO:
^
include/uapi/linux/hpet.h:18:19: note: expanded from macro 'HPET_INFO'
^
include/uapi/asm-generic/ioctl.h:77:28: note: expanded from macro '_IOR'
^
include/uapi/asm-generic/ioctl.h:66:2: note: expanded from macro '_IOC'
(((dir) << _IOC_DIRSHIFT) | \
Signed-off-by: Matthias Kaehlcke <[email protected]>
Acked-by: Clemens Ladisch <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions