[PATCH 0/2] USB: symbolserial: Fix OOPS (regression) and data length

2015-08-17 Thread Philipp Hachtmann
I bought a Symbol DS3508 2D imager barcode scanner, configured it to behave as "simple COM port", and my machine OOPSed immediately. The result are the two attached patches. The first one is actually needed to get the whole thing again without that nasty NULL pointer dereference. The second

[PATCH 0/2] USB: symbolserial: Fix OOPS (regression) and data length

2015-08-17 Thread Philipp Hachtmann
I bought a Symbol DS3508 2D imager barcode scanner, configured it to behave as simple COM port, and my machine OOPSed immediately. The result are the two attached patches. The first one is actually needed to get the whole thing again without that nasty NULL pointer dereference. The second patch