Re: [PATCH v2 00/12] mmc: use nonblock mmc requests to minimizelatency

From: Shawn Guo
Date: Sat Apr 16 2011 - 11:45:07 EST


Hi Per,

On Wed, Apr 06, 2011 at 09:07:01PM +0200, Per Forlin wrote:
[...]
>
> Per Forlin (12):
> mmc: add none blocking mmc request function
> mmc: mmc_test: add debugfs file to list all tests
> mmc: mmc_test: add test for none blocking transfers
> mmc: add member in mmc queue struct to hold request data
> mmc: add a block request prepare function
> mmc: move error code in mmc_block_issue_rw_rq to a separate function.
> mmc: add a second mmc queue request member
> mmc: add handling for two parallel block requests in issue_rw_rq
> mmc: test: add random fault injection in core.c
> omap_hsmmc: use original sg_len for dma_unmap_sg
> omap_hsmmc: add support for pre_req and post_req
> mmci: implement pre_req() and post_req()
>
> drivers/mmc/card/block.c | 493 +++++++++++++++++++++++++++--------------
> drivers/mmc/card/mmc_test.c | 342 ++++++++++++++++++++++++++++-
> drivers/mmc/card/queue.c | 171 +++++++++------
> drivers/mmc/card/queue.h | 31 ++-
> drivers/mmc/core/core.c | 132 ++++++++++-
> drivers/mmc/core/debugfs.c | 5 +
> drivers/mmc/host/mmci.c | 146 +++++++++++-
> drivers/mmc/host/mmci.h | 8 +
> drivers/mmc/host/omap_hsmmc.c | 90 +++++++-
> include/linux/mmc/core.h | 9 +-
> include/linux/mmc/host.h | 13 +-
> lib/Kconfig.debug | 11 +
> 12 files changed, 1172 insertions(+), 279 deletions(-)
>
I'm playing the patch set and seeing the following warnings.

CC drivers/mmc/card/block.o
drivers/mmc/card/block.c: In function âmmc_blk_issue_rqâ:
drivers/mmc/card/block.c:429:6: warning: âstatusâ may be used uninitialized in this function

CC drivers/mmc/core/core.o
drivers/mmc/core/core.c: In function âmmc_request_doneâ:
drivers/mmc/core/core.c:163:3: warning: passing argument 2 of âmmc_should_fail_requestâ from incompatible pointer type
drivers/mmc/core/core.c:129:20: note: expected âstruct mmc_data *â but argument is of type âstruct mmc_request *â

--
Regards,
Shawn

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/