aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2019-11-07 14:28:56 +0100
committerJohan Hovold <[email protected]>2019-11-12 09:56:45 +0100
commit960fbd1ca584a5b4cd818255769769d42bfc6dbe (patch)
treeb4898add53f7e973990db8cabedf47d2a8f3470b /lib/mpi/mpi-inline.h
parent1c333550ea92a9c7a5fdf0f3474eba3387478f20 (diff)
USB: serial: mos7840: fix probe error handling
The driver would return success and leave the port structures half-initialised if any of the register accesses during probe fails. This would specifically leave the port control urb unallocated, something which could trigger a NULL pointer dereference on interrupt events. Fortunately the interrupt implementation is completely broken and has never even been enabled... Note that the zero-length-enable register write used to set the zle-flag for all ports is moved to attach. Reviewed-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions