Home
last modified time | relevance | path

Searched hist:"073 b50bccbbf99a3b79a1913604c656d0e1a56c9" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/hid/
H A Dwacom_sys.cdiff 073b50bccbbf99a3b79a1913604c656d0e1a56c9 Fri Aug 16 13:54:26 CDT 2019 Jason Gerecke <killertofu@gmail.com> 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>
H A Dwacom_wac.cdiff 073b50bccbbf99a3b79a1913604c656d0e1a56c9 Fri Aug 16 13:54:26 CDT 2019 Jason Gerecke <killertofu@gmail.com> 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>