diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-05-10 14:24:41 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2019-05-28 10:53:54 +0300 |
commit | 61009f82a93f7c0b33cd9b3b263a6ab48f8b49d4 (patch) | |
tree | ec600fcb5a8358b060a9263daf66f8e5e622de79 /scripts/const_structs.checkpatch | |
parent | cd6c84d8f0cdc911df435bb075ba22ce3c605b07 (diff) | |
download | linux-61009f82a93f7c0b33cd9b3b263a6ab48f8b49d4.tar.xz |
memstick: mspro_block: Fix an error code in mspro_block_issue_req()
We accidentally changed the error code from -EAGAIN to 1 when we did the
blk-mq conversion.
Maybe a contributing factor to this mistake is that it wasn't obvious
that the "while (chunk) {" condition is always true. I have cleaned
that up as well.
Fixes: d0be12274dad ("mspro_block: convert to blk-mq")
Cc: stable@vger.kernel.org
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions