summaryrefslogtreecommitdiffstats
path: root/drivers/tty/rocket.h
diff options
context:
space:
mode:
authorIan Munsie <imunsie@au1.ibm.com>2014-10-09 11:17:46 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2014-10-09 11:29:57 +1100
commitd53ba6b3bba33432cc37b7101a86f8f3392c46e7 (patch)
treea82fe60070c230303bc1daa7ce55384ab46904d0 /drivers/tty/rocket.h
parenta9282d01cf357379ce29103cec5e7651a53c634d (diff)
downloadop-kernel-dev-d53ba6b3bba33432cc37b7101a86f8f3392c46e7.zip
op-kernel-dev-d53ba6b3bba33432cc37b7101a86f8f3392c46e7.tar.gz
cxl: Fix afu_read() not doing finish_wait() on signal or non-blocking
If afu_read() returned due to a signal or the AFU file descriptor being opened non-blocking it would not call finish_wait() before returning, which could lead to a crash later when something else wakes up the wait queue. This patch restructures the wait logic to ensure that the cleanup is done correctly. Signed-off-by: Ian Munsie <imunsie@au1.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/tty/rocket.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud