staging: "rts_pstor" Fix typos.
PATCH 1/1 staging: "rts_pstor" Fix typos.
From: "Justin P. Mattock" <[email protected]>
---
The below patch fixes some typos found while reading through rts_pstor.
drivers/staging/rts_pstor/ms.c | 2 +- drivers/staging/rts_pstor/sd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rts_pstor/ms.c +1 -1
@@ -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 */ retval =ms_build_l2p_tbl (chip, ms_card->total_block /512 -1 );if (retval !=STATUS_SUCCESS ) {
drivers/staging/rts_pstor/sd.c +1 -1
@@ -1169,7 +1169,7 @@ static int sd_check_switch_mode(struct rtsx_chip *chip, u8 mode,RTSX_DEBUGP ("func_group4_mask = 0x%02x\n" , buf[0x07 ]); }else {/* Maximum current consumption, check whether current is acceptable; -* bit[511:496] = 0x0000 means some error happaned. +* bit[511:496] = 0x0000 means some error happened. */ u16 cc = ((u16 )buf[0 ] <<8 ) | buf[1 ];RTSX_DEBUGP ("Maximum current consumption: %dmA\n" , cc);
Signature · 1 line
1.7.5.4
Quoted 3 lines · Justin P. Mattock
From: "Justin P. Mattock" <[email protected]>
Signed-off-by Justin P. Mattock <[email protected]>
^
Your scripts are adding an extra space here.
Quoted 4 lines
---
The below patch fixes some typos found while reading through
rts_pstor.
This could go in the patch description if you wanted.
Quoted 10 lines
drivers/staging/rts_pstor/ms.c | 2 +- drivers/staging/rts_pstor/sd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)drivers/staging/rts_pstor/ms.c +0
-0
drivers/staging/rts_pstor/ms.c int reset_ms_card(struct rtsx_chip *chip) · line 2491
Quoted 5 lines
drivers/staging/rts_pstor/ms.c +1
-1@@ -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.
drivers/staging/rts_pstor/ms.c int reset_ms_card(struct rtsx_chip *chip) · line 2494
Quoted 3 lines
drivers/staging/rts_pstor/ms.c +0
-0*/ retval =ms_build_l2p_tbl (chip, ms_card->total_block /512 -1 );if (retval !=STATUS_SUCCESS ) {
regards,
dan carpenter
Quoted 6 lines · Dan Carpenter
Quoted 3 lines · Justin P. Mattock
From: "Justin P. Mattock"<[email protected]>
Signed-off-by Justin P. Mattock<[email protected]>^
Your scripts are adding an extra space here.i
after git format-patch my signature is in the subject line. pressing enter a few times moves it down. is there a git command for properly aligning this?
Quoted 19 lines
Quoted 5 lines
---
The below patch fixes some typos found while reading through
rts_pstor.This could go in the patch description if you wanted.
Quoted 11 lines
drivers/staging/rts_pstor/ms.c | 2 +- drivers/staging/rts_pstor/sd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)drivers/staging/rts_pstor/ms.c +0
-0@@ -2488,7 +2488,7 @@ int reset_ms_card(struct rtsx_chip *chip)
Quoted 7 lines
drivers/staging/rts_pstor/ms.c int reset_ms_card(struct rtsx_chip *chip) · line 2491
Quoted 4 lines
drivers/staging/rts_pstor/ms.c +1
-1if (!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.
most of them I have no idea as well.. anyway resending with the fixes..
Quoted 8 lines
drivers/staging/rts_pstor/ms.c int reset_ms_card(struct rtsx_chip *chip) · line 2494
Quoted 4 lines
drivers/staging/rts_pstor/ms.c +0
-0*/ retval =ms_build_l2p_tbl (chip, ms_card->total_block /512 -1 );if (retval !=STATUS_SUCCESS ) {regards,
dan carpenter
Justin P. Mattock
Quoted 11 lines · Justin P. Mattock
Quoted 6 lines · Dan Carpenter
Quoted 3 lines · Justin P. Mattock
From: "Justin P. Mattock"<[email protected]>
Signed-off-by Justin P. Mattock<[email protected]>^
Your scripts are adding an extra space here.iafter git format-patch my signature is in the subject line. pressing enter a few times moves it down. is there a git command for properly aligning this?
The first line is the subject and then you need to leave the next line of the commit blank.
regards,
dan carpenter
Quoted 13 lines · Dan Carpenter
Quoted 11 lines · Justin P. Mattock
Quoted 6 lines · Dan Carpenter
Quoted 3 lines · Justin P. Mattock
From: "Justin P. Mattock"<[email protected]>
Signed-off-by Justin P. Mattock<[email protected]>^
Your scripts are adding an extra space here.iafter git format-patch my signature is in the subject line. pressing enter a few times moves it down. is there a git command for properly aligning this?
Quoted 7 lines
The first line is the subject and then you need to leave the next line of the commit blank.
regards,
dan carpenter
ahh.. I know what im doing wrong, im not doing all of this while doing git commit -s -a. I add the subject etc.. after committing and formatting the patch.
Justin P. Mattock