Skip to contentSkip to conversation

Signed-off-by: Kitone ELvis Peter <[email protected]>

PATCH In review Kitone ELvis Peter 2 participants 2 messages Jun 8, 2018 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Signed-off-by: Kitone ELvis Peter <[email protected]>

Subject: REMOVE CODING STYLE ERRORS AND WARNINGS

Removed trailing spaces, used tab instead of spaces and also removed the space between a variable and the '++' operator to improve code readability

---
 block/partitions/acorn.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
block/partitions/acorn.c +5 -5
index fbeb697..3bfe39d 100644
@@ -79,7 +79,7 @@ static int riscix_partition(struct parsed_partitions *state,
 {
 	Sector sect;
 	struct riscix_record *rr;
-	
+
 	rr = read_part_sector(state, first_sect, &sect);
 	if (!rr)
 		return -1;
@@ -152,7 +152,7 @@ static int linux_partition(struct parsed_partitions *state,
 		put_partition(state, slot++, first_sect +
 				 le32_to_cpu(linuxp->start_sect),
 				 le32_to_cpu(linuxp->nr_sects));
-		linuxp ++;
+		linux++;
 	}
 	strlcat(state->pp_buf, " >", PAGE_SIZE);
 
@@ -269,7 +269,7 @@ int adfspart_check_ADFS(struct parsed_partitions *state)
 	dr = adfs_partition(state, "ADFS", data, 0, slot++);
 	if (!dr) {
 		put_dev_sector(sect);
-    		return 0;
+		return 0;
 	}
 
 	heads = dr->heads + ((dr->lowsector >> 6) & 1);
@@ -365,10 +365,10 @@ int adfspart_check_ICS(struct parsed_partitions *state)
 	 */
 	data = read_part_sector(state, 0, &sect);
 	if (!data)
-	    	return -1;
+		return -1;
 
 	if (!valid_ics_sector(data)) {
-	    	put_dev_sector(sect);
+		put_dev_sector(sect);
 		return 0;
 	}
 
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 4 lines · Kitone ELvis Peter

Subject: REMOVE CODING STYLE ERRORS AND WARNINGS

Removed trailing spaces, used tab instead of spaces and also removed the space between a variable and the '++' operator to improve code readability

You're still messing this up. The subject line is in the message body, the subject line contains your signed-off-by.

Please take a look at your email and reason about how to fix this up before trying again.

Signature · 1 line
Jens Axboe