Re: [PATCH] usb: Fix warnings in chaoskey driver

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

 



On Thu, 2015-03-26 at 16:49 -0700, keithp@xxxxxxxxxx wrote:
> > >> drivers/usb/misc/chaoskey.c:117:30: sparse: incorrect type in
> assignment (different base types)
> >    drivers/usb/misc/chaoskey.c:117:30:    expected int [signed] size
> >    drivers/usb/misc/chaoskey.c:117:30:    got restricted __le16
> [usertype] wMaxPacketSize
> 
> Switched the code to using the USB descriptor accessor functions.

Hi,

this fixes an endianness bug. So it should still be merged late
in the cycle.

	Regards
		Oliver


--
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