linux_dsm_epyc7002/drivers/usb/usbip
Krzysztof Opasiak 2bdf6ea51c usb: usbip: vudc: Fix WARN_ON() usage pattern
Fix WARN_ON() macro usage as suggested by Felipe.
Instead of using:
if (cond) {
   WARN_ON(1);
   do_stuff();
}

Use a better pattern with WARN_ON() placed in if condition:

if (WARN_ON(cond))
   do_stuff();

Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-04-28 12:28:08 -07:00
..
Kconfig usbip: vudc: Add vudc to Kconfig 2016-04-26 15:19:50 -07:00
Makefile usbip: vudc: Add vudc to Kconfig 2016-04-26 15:19:50 -07:00
README
stub_dev.c usbip: event handler as one thread 2016-04-19 04:33:15 +09:00
stub_main.c
stub_rx.c
stub_tx.c
stub.h
usbip_common.c usbip: vudc: Make usbip_common vudc-aware 2016-04-26 15:19:50 -07:00
usbip_common.h usbip: vudc: Make usbip_common vudc-aware 2016-04-26 15:19:50 -07:00
usbip_event.c usbip: event handler as one thread 2016-04-19 04:33:15 +09:00
vhci_hcd.c usb: usbip: Fix possible deadlocks reported by lockdep 2016-02-03 13:52:10 -08:00
vhci_rx.c usb: usbip: Fix possible deadlocks reported by lockdep 2016-02-03 13:52:10 -08:00
vhci_sysfs.c usb: usbip: Fix possible deadlocks reported by lockdep 2016-02-03 13:52:10 -08:00
vhci_tx.c usb: usbip: Fix possible deadlocks reported by lockdep 2016-02-03 13:52:10 -08:00
vhci.h
vudc_dev.c usb: usbip: vudc: Fix WARN_ON() usage pattern 2016-04-28 12:28:08 -07:00
vudc_main.c usbip: vudc: Add VUDC main file 2016-04-26 15:19:50 -07:00
vudc_rx.c usbip: vudc: Add vudc_rx 2016-04-26 15:19:50 -07:00
vudc_sysfs.c usbip: vudc: Add SysFS infrastructure for VUDC 2016-04-26 15:19:50 -07:00
vudc_transfer.c usbip: vudc: Add vudc_transfer 2016-04-26 15:19:50 -07:00
vudc_tx.c usbip: vudc: Add vudc_tx 2016-04-26 15:19:50 -07:00
vudc.h usbip: vudc: Add header for USB/IP UDC 2016-04-26 15:19: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>