Re: [PATCH V2] usb: lvstest: Fix sparse warnings generated by kbuild test bot

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

 



On Mon, Jul 21, 2014 at 09:47:30AM +0530, Pratyush Anand wrote:
> Following sparse warnings were reported by kbuild test bot
> 
> drivers/usb/misc/lvstest.c:314:28: sparse: incorrect type in assignment (different base types)
>    drivers/usb/misc/lvstest.c:314:28:    expected unsigned short [unsigned] [usertype] portchange
>    drivers/usb/misc/lvstest.c:314:28:    got restricted __le16 [usertype] wPortChange
> drivers/usb/misc/lvstest.c:332:40: sparse: restricted __le16 degrades to integer
> 
> This patch fixes above warnings.
> 
> Signed-off-by: Pratyush Anand <pratyush.anand@xxxxxx>

Please properly provide a "Reported-by:" line.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux