mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 06:56:41 +07:00
51370e5b21
When the device is disconnected, the dev structure goes away, so trying to report another error via dev_printk is bound to oops. To avoid that, first check whether the device is still connected and return quietly if it isn't. Impact: error handling Signed-off-by: Tilman Schmidt <tilman@imap.cc> Reported-by: Paul Bolle <pebolle@tiscali.nl> Tested-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
asyncdata.c | ||
bas-gigaset.c | ||
common.c | ||
ev-layer.c | ||
gigaset.h | ||
i4l.c | ||
interface.c | ||
isocdata.c | ||
Kconfig | ||
Makefile | ||
proc.c | ||
ser-gigaset.c | ||
usb-gigaset.c |