aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/viotape.c
diff options
context:
space:
mode:
authorLoic Poulain <loic.poulain@linaro.org>2021-04-22 11:21:51 +0200
committerLoic Poulain <loic.poulain@linaro.org>2021-04-22 14:38:29 +0200
commit04b254ab1122ae3e646f95ecf1399e4b00f14fd3 (patch)
treeb31553667f549dfc757e8be01d09a7ea5b8fc0f6 /drivers/char/viotape.c
parent9c07941e85e7759389578b7c34266351a6031bd2 (diff)
net: wwan: core: Return poll error in case of port removaltelit-5.12
Ensure that the poll system call returns error flags when port is removed, allowing user side to properly fail, without trying read or write. Port removal leads to nullified port operations, add a is_port_connected() helper to safely check the status. Fixes: 9a44c1cc6388 ("net: Add a WWAN subsystem") Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Diffstat (limited to 'drivers/char/viotape.c')
0 files changed, 0 insertions, 0 deletions