Message ID | 20161114113134.GA20543@mwanda (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 14 November 2016 at 12:31, Dan Carpenter <dan.carpenter@oracle.com> wrote: > We never set "ret" to RESULT_OK. > > Fixes: 9f9c4180f88d ("mmc: mmc_test: add test for non-blocking transfers") > Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Thanks, applied for next! Kind regards Uffe > > diff --git a/drivers/mmc/card/mmc_test.c b/drivers/mmc/card/mmc_test.c > index f61c812..5ba6d77 100644 > --- a/drivers/mmc/card/mmc_test.c > +++ b/drivers/mmc/card/mmc_test.c > @@ -832,7 +832,7 @@ static int mmc_test_nonblock_transfer(struct mmc_test_card *test, > struct mmc_async_req *other_areq = &test_areq[1].areq; > enum mmc_blk_status status; > int i; > - int ret; > + int ret = RESULT_OK; > > test_areq[0].test = test; > test_areq[1].test = test; -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/mmc/card/mmc_test.c b/drivers/mmc/card/mmc_test.c index f61c812..5ba6d77 100644 --- a/drivers/mmc/card/mmc_test.c +++ b/drivers/mmc/card/mmc_test.c @@ -832,7 +832,7 @@ static int mmc_test_nonblock_transfer(struct mmc_test_card *test, struct mmc_async_req *other_areq = &test_areq[1].areq; enum mmc_blk_status status; int i; - int ret; + int ret = RESULT_OK; test_areq[0].test = test; test_areq[1].test = test;
We never set "ret" to RESULT_OK. Fixes: 9f9c4180f88d ("mmc: mmc_test: add test for non-blocking transfers") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html