2022-06-23 08:08:30

by Jiang Jian

[permalink] [raw]
Subject: [PATCH] mmc: sdhci: drop unexpected word 'a' in comments

Remove the repeated word 'a' from comments

file - drivers/mmc/host/sdhci.h
line - 348

/* Allow for a a command request and a data request at the same time */

changed to:

/* Allow for a command request and a data request at the same time */

Signed-off-by: Jiang Jian <[email protected]>
---
drivers/mmc/host/sdhci.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h
index 95a08f09df30..0abe4b428ed5 100644
--- a/drivers/mmc/host/sdhci.h
+++ b/drivers/mmc/host/sdhci.h
@@ -345,7 +345,7 @@ struct sdhci_adma2_64_desc {
*/
#define SDHCI_MAX_SEGS 128

-/* Allow for a a command request and a data request at the same time */
+/* Allow for a command request and a data request at the same time */
#define SDHCI_MAX_MRQS 2

/*
--
2.17.1


2022-06-23 09:34:06

by Adrian Hunter

[permalink] [raw]
Subject: Re: [PATCH] mmc: sdhci: drop unexpected word 'a' in comments

On 23/06/22 10:16, Jiang Jian wrote:
> Remove the repeated word 'a' from comments
>
> file - drivers/mmc/host/sdhci.h
> line - 348
>
> /* Allow for a a command request and a data request at the same time */
>
> changed to:
>
> /* Allow for a command request and a data request at the same time */
>
> Signed-off-by: Jiang Jian <[email protected]>

Acked-by: Adrian Hunter <[email protected]>

> ---
> drivers/mmc/host/sdhci.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h
> index 95a08f09df30..0abe4b428ed5 100644
> --- a/drivers/mmc/host/sdhci.h
> +++ b/drivers/mmc/host/sdhci.h
> @@ -345,7 +345,7 @@ struct sdhci_adma2_64_desc {
> */
> #define SDHCI_MAX_SEGS 128
>
> -/* Allow for a a command request and a data request at the same time */
> +/* Allow for a command request and a data request at the same time */
> #define SDHCI_MAX_MRQS 2
>
> /*