linux/drivers/staging/usbip
Teodora Baluta d0306a514d staging: usbip: fix sparse warnings regarding endianness
The wHubCharacteristics field in usb_hub_descriptor structure is __le16
so there is no need for cast. The cpu_to_le16 returns a __le16 type for
a u16 type. Used cpu_to_le16 to silence last sparse error.

drivers/staging/usbip/vhci_hcd.c:223:35: warning: incorrect type in assignment (different base types)
drivers/staging/usbip/vhci_hcd.c:223:35:    expected restricted __le16 [usertype] wHubCharacteristics
drivers/staging/usbip/vhci_hcd.c:223:35:    got unsigned short [unsigned] [usertype] <noident>
drivers/staging/usbip/vhci_hcd.c:351:34: warning: incorrect type in assignment (different base types)
drivers/staging/usbip/vhci_hcd.c:351:34:    expected unsigned short [unsigned] [short] [usertype] <noident>
drivers/staging/usbip/vhci_hcd.c:351:34:    got restricted __le16 [usertype] <noident>
drivers/staging/usbip/vhci_hcd.c:352:34: warning: incorrect type in assignment (different base types)
drivers/staging/usbip/vhci_hcd.c:352:34:    expected unsigned short [unsigned] [short] [usertype] <noident>
drivers/staging/usbip/vhci_hcd.c:352:34:    got restricted __le16 [usertype] <noident>
drivers/staging/usbip/vhci_hcd.c:540:36: warning: restricted __le16 degrades to integer

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-11-10 11:51:53 -08:00
..
userspace staging: usbip: Fix man-pages for usbip userspace utilities 2013-09-25 16:58:32 -07:00
Kconfig staging: Add angle bracket before and after the URL 2013-01-07 14:56:04 -08:00
Makefile
README
stub_dev.c Staging: usbip: stub_dev: Fixed checkpatch warnings 2013-09-25 16:30:46 -07:00
stub_main.c staging: usbip: stub_main: correctly handle return value 2013-09-25 16:30:45 -07:00
stub_rx.c staging:usbip:stub_rx.c: Remove warning quoted string split across lines 2013-11-10 11:51:53 -08:00
stub_tx.c staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
stub.h staging: usbip: removed unused structure field 2012-02-09 09:42:22 -08:00
usbip_common.c staging:usbip:usbip_common.c: Join quoted string split accross lines 2013-11-10 11:51:53 -08:00
usbip_common.h staging: usbip: replaced pointer arithmetic, and strongly type function return. 2012-10-22 13:36:28 -07:00
usbip_event.c staging: usbip: Renaming pr_warning function 2013-05-13 13:39:31 -07:00
usbip_protocol.txt staging: Fix typo in multiple files 2012-04-10 10:31:01 -07:00
vhci_hcd.c staging: usbip: fix sparse warnings regarding endianness 2013-11-10 11:51:53 -08:00
vhci_rx.c staging: usbip: removed enumeration of comments 2013-04-05 14:22:50 -07:00
vhci_sysfs.c staging: usbip: use DEVICE_ATTR_RO/RW for sysfs attributes 2013-08-26 12:02:54 -07:00
vhci_tx.c staging: usbip: replace the interrupt safe spinlocks with common ones. 2013-01-22 09:00:10 -08:00
vhci.h staging: usbip: remove unnused, broken macro 2013-04-05 14:22:50 -07:00

TODO:
	- more discussion about the protocol
	- testing
	- review of the userspace interface
	- document the protocol

Please send patches for this code to Greg Kroah-Hartman <greg@kroah.com>