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

Dan Carpenter
2012-05-21T14:31:39Z

On Mon, May 21, 2012 at 07:19:15AM -0700, Justin P. Mattock wrote:
> From: "Justin P. Mattock" <justinmattock@gmail.com>
>
> Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
^
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