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:57:10 +0200 |
| commit | 78a1138672afb95d21746de64a779f2c3357d7b7 (patch) | |
| tree | 756faf32921978e71709e6a5fffa017a2320c52c /kernel | |
| parent | 3b7fbbddeb7a1d7f01026586077faa850d099b78 (diff) | |
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 'kernel')
0 files changed, 0 insertions, 0 deletions
