Re: [PATCH 1/1] block: Add eMMC4.5 packed commands unit-tests

From: Jeff Moyer
Date: Tue Jun 12 2012 - 10:11:14 EST


Maya Erez <merez@xxxxxxxxxxxxxx> writes:

> Expose the following packed commands tests:
> - Test the write packed commands list preparation
> - Simulate a returned error code
> - Send an invalid packed command to the card
>
> Signed-off-by: Lee Susman <lsusman@xxxxxxxxxxxxxx>
> Signed-off-by: Maya Erez <merez@xxxxxxxxxxxxxx>
>
> diff --git a/drivers/mmc/card/Kconfig b/drivers/mmc/card/Kconfig
> index 3b1f783..bbe8cac 100644
> --- a/drivers/mmc/card/Kconfig
> +++ b/drivers/mmc/card/Kconfig
> @@ -67,3 +67,14 @@ config MMC_TEST
>
> This driver is only of interest to those developing or
> testing a host driver. Most people should say N here.
> +
> +config MMC_BLOCK_TEST
> + tristate "MMC block test"
> + depends on MMC_BLOCK && IOSCHED_TEST

Umm, if this depends on your iosched-test patch, then you should make
them both part of a patch series. It would have answered one of my
questions on that patch.

Cheers,
Jeff
--
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/