Re: [PATCH NEXT]staging: "rts_pstor" Fix typos.

From: Dan Carpenter
Date: Mon May 21 2012 - 10:31:35 EST


On Mon, May 21, 2012 at 07:19:15AM -0700, Justin P. Mattock wrote:
> From: "Justin P. Mattock" <justinmattock@xxxxxxxxx>
>
> Signed-off-by: Justin P. Mattock <justinmattock@xxxxxxxxx>
^
Your scripts are adding an extra space here.

>
> ---
>
> The below patch fixes some typos found while reading through rts_pstor.

This could go in the patch description if you wanted.

>
> drivers/staging/rts_pstor/ms.c | 2 +-
> drivers/staging/rts_pstor/sd.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/rts_pstor/ms.c b/drivers/staging/rts_pstor/ms.c
> index 0bf6d95..3b75739 100644
> --- a/drivers/staging/rts_pstor/ms.c
> +++ b/drivers/staging/rts_pstor/ms.c
> @@ -2488,7 +2488,7 @@ int reset_ms_card(struct rtsx_chip *chip)
>
> if (!CHK_MSPRO(ms_card)) {
> /* Build table for the last segment,
> - * to check if L2P talbe block exist,erasing it
> + * to check if L2P table block exist,erasing it

I still have no idea what this comment means but "exist" => "exists"
and it needs a space after the comma.

> */
> retval = ms_build_l2p_tbl(chip, ms_card->total_block / 512 - 1);
> if (retval != STATUS_SUCCESS) {

regards,
dan carpenter
--
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/