diff options
author | Jason Gerecke <killertofu@gmail.com> | 2019-08-16 11:54:26 -0700 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2019-08-20 16:57:31 +0200 |
commit | 073b50bccbbf99a3b79a1913604c656d0e1a56c9 (patch) | |
tree | b6a8af1d8fe0c576b287efea7e22c891232a7792 /scripts/gdb/linux/proc.py | |
parent | f4eb1423e43376bec578c5696635b074c8bd2035 (diff) |
HID: wacom: Fix several minor compiler warnings
Addresses a few issues that were noticed when compiling with non-default
warnings enabled. The trimmed-down warnings in the order they are fixed
below are:
* declaration of 'size' shadows a parameter
* '%s' directive output may be truncated writing up to 5 bytes into a
region of size between 1 and 64
* pointer targets in initialization of 'char *' from 'unsigned char *'
differ in signedness
* left shift of negative value
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Reviewed-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions