Re: [PATCH] HID: wacom: Fix several minor compiler warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 16 Aug 2019, Jason Gerecke wrote:

> 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@xxxxxxxxx>
> Reviewed-by: Aaron Armstrong Skomra <aaron.skomra@xxxxxxxxx>

Applied to for-5.4/wacom.

-- 
Jiri Kosina
SUSE Labs




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux