linux/drivers/memstick/core
Dan Carpenter 61009f82a9 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: d0be12274d ("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>
2019-05-28 09:53:54 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
memstick.c memstick: Prevent memstick host from getting runtime suspended during card detection 2018-12-17 08:26:24 +01:00
ms_block.c ms_block: remove unused pointer 'set' 2018-11-08 06:17:26 -07:00
ms_block.h ms_block: convert to blk-mq 2018-11-07 13:42:31 -07:00
mspro_block.c memstick: mspro_block: Fix an error code in mspro_block_issue_req() 2019-05-28 09:53:54 +02:00