diff options
author | Jason Gerecke <killertofu@gmail.com> | 2019-08-16 11:54:26 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-07 18:59:26 +0200 |
commit | 11daaf5c38f2a53c93ce986c82d2ba201b09dd1c (patch) | |
tree | 93107bd731b2178c403f4159bde25f247f9650b1 /arch/ia64 | |
parent | 503aae8dcc18da16db4e5560188ac2a6162800d0 (diff) | |
download | linux-stable-11daaf5c38f2a53c93ce986c82d2ba201b09dd1c.tar.gz linux-stable-11daaf5c38f2a53c93ce986c82d2ba201b09dd1c.tar.bz2 linux-stable-11daaf5c38f2a53c93ce986c82d2ba201b09dd1c.zip |
HID: wacom: Fix several minor compiler warnings
[ Upstream commit 073b50bccbbf99a3b79a1913604c656d0e1a56c9 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/ia64')
0 files changed, 0 insertions, 0 deletions