Home
last modified time | relevance | path

Searched hist:"61009 f82a93f7c0b33cd9b3b263a6ab48f8b49d4" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/memstick/core/
H A Dmspro_block.cdiff 61009f82a93f7c0b33cd9b3b263a6ab48f8b49d4 Fri May 10 06:24:41 CDT 2019 Dan Carpenter <dan.carpenter@oracle.com> 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>