diff options
| author | Sebastian Ott <[email protected]> | 2018-02-07 12:18:19 +0000 |
|---|---|---|
| committer | Martin Schwidefsky <[email protected]> | 2018-02-22 09:09:25 +0000 |
| commit | 770b55c995d171f026a9efb85e71e3b1ea47b93d (patch) | |
| tree | 0d6bbd77ce82fd0727c2dcdb272de2ecc7a3bf89 /lib/string_helpers.c | |
| parent | s390/cio: fix ccw_device_start_timeout API (diff) | |
| download | kernel-770b55c995d171f026a9efb85e71e3b1ea47b93d.tar.gz kernel-770b55c995d171f026a9efb85e71e3b1ea47b93d.zip | |
s390/cio: fix return code after missing interrupt
When a timeout occurs for users of ccw_device_start_timeout
we will stop the IO and call the drivers int handler with
the irb pointer set to ERR_PTR(-ETIMEDOUT). Sometimes
however we'd set the irb pointer to ERR_PTR(-EIO) which is
not intended. Just set the correct value in all codepaths.
Reported-by: Julian Wiedmann <[email protected]>
Signed-off-by: Sebastian Ott <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
