Skip to contentSkip to conversation

mtd: bcm47xxnflash: fix message

PATCH In review Rafał Miłecki 3 participants 6 messages Jan 28, 2013 – Feb 4, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 3/6 mtd: bcm47xxnflash: fix message

From: Hauke Mehrtens <[email protected]>

This is not a serial flash driver, but a nand flash driver

---
V2: break line to match 80 chars

---
 drivers/mtd/nand/bcm47xxnflash/main.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/mtd/nand/bcm47xxnflash/main.c +2 -1
index 8363a9a..3e20762 100644
@@ -94,7 +94,8 @@ static int __init bcm47xxnflash_init(void)
 	 */
 	err = platform_driver_probe(&bcm47xxnflash_driver, bcm47xxnflash_probe);
 	if (err)
-		pr_err("Failed to register serial flash driver: %d\n", err);
+		pr_err("Failed to register bcm47xx nand flash driver: %d\n",
+		       err);
 
 	return err;
 }
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH v2 4/6 mtd: bcm47xxnflash: register this as normal driver

From: Hauke Mehrtens <[email protected]>

When platform_driver_probe() is used and no device is registered for this driver -ENODEV is returned and and error message is shown. Not all BCM47xx SoC have a nand flash chip controller and chip and for them an error message was shown.

---
V2: rebase after change in V2 of 3/6

---
 drivers/mtd/nand/bcm47xxnflash/main.c |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
drivers/mtd/nand/bcm47xxnflash/main.c +2 -5
index 3e20762..a52acdc 100644
@@ -77,6 +77,7 @@ static int bcm47xxnflash_remove(struct platform_device *pdev)
 }
 
 static struct platform_driver bcm47xxnflash_driver = {
+	.probe	= bcm47xxnflash_probe,
 	.remove = bcm47xxnflash_remove,
 	.driver = {
 		.name = "bcma_nflash",
@@ -88,11 +89,7 @@ static int __init bcm47xxnflash_init(void)
 {
 	int err;
 
-	/*
-	 * Platform device "bcma_nflash" exists on SoCs and is registered very
-	 * early, it won't be added during runtime (use platform_driver_probe).
-	 */
-	err = platform_driver_probe(&bcm47xxnflash_driver, bcm47xxnflash_probe);
+	err = platform_driver_register(&bcm47xxnflash_driver);
 	if (err)
 		pr_err("Failed to register bcm47xx nand flash driver: %d\n",
 		       err);
Signature · 1 line
1.7.10.4
#2 lore raw

Re: [PATCH V2 4/6] mtd: bcm47xxnflash: register this as normal driver

Quoted 10 lines · Rafał Miłecki

From: Hauke Mehrtens <[email protected]>

When platform_driver_probe() is used and no device is registered for this driver -ENODEV is returned and and error message is shown. Not all BCM47xx SoC have a nand flash chip controller and chip and for them an error message was shown.

---
V2: rebase after change in V2 of 3/6

Thanks Rafał for taking this up.

Hauke

#3 lore raw
In reply to Rafał Miłecki
Quoted 7 lines · Rafał Miłecki

From: Hauke Mehrtens <[email protected]>

This is not a serial flash driver, but a nand flash driver

---
V2: break line to match 80 chars

When sending v2 for individual patches, please, remember 2 things:

1. Keep them part of the original thread (ensure correct In-Reply-To:).
2. Add your own signed-off-by.

Thanks!

P.S. I took your versions of patches, thanks!

Signature · 2 lines
Best Regards,
Artem Bityutskiy
#4 lore raw

2013/2/4 Artem Bityutskiy <[email protected]>:

Quoted 5 lines · Rafał Miłecki
Quoted 4 lines

From: Hauke Mehrtens <[email protected]>

This is not a serial flash driver, but a nand flash driver

Quoted 7 lines
Quoted 3 lines

---
V2: break line to match 80 chars

When sending v2 for individual patches, please, remember 2 things:

1. Keep them part of the original thread (ensure correct In-Reply-To:).

Whoops, I've to learn how to make that with git send-email.

Quoted 1 line

2. Add your own signed-off-by.

It was so trivial... I wasn't sure if it's worth signing-it-by... ;)

Signature · 1 line
Rafał
#5 lore raw
Quoted 10 lines · Rafał Miłecki

2013/2/4 Artem Bityutskiy <[email protected]>:

Quoted 9 lines · Rafał Miłecki
Quoted 7 lines

From: Hauke Mehrtens <[email protected]>

This is not a serial flash driver, but a nand flash driver

---
V2: break line to match 80 chars

Quoted 5 lines
Quoted 3 lines

When sending v2 for individual patches, please, remember 2 things:

1. Keep them part of the original thread (ensure correct In-Reply-To:).

Whoops, I've to learn how to make that with git send-email.

--in-reply-to=<identifier>

Pick the identifier from the Message-ID tag of the e-mail you are replying to. E.g., save the e-mail as hauke.mbox file and do:

$ grep -i '^Message-ID:' hauke.mbox
Message-Id: <[email protected]>

which means that for this one the 'git send-email' option will be:

--in-reply-to="<[email protected]>"

Quoted 3 lines
Quoted 1 line

2. Add your own signed-off-by.

It was so trivial... I wasn't sure if it's worth signing-it-by... ;)

Signed-off-by is not about how big were your changes, it roughly speaking means that you confirm that the source of this patch for you is Hauke Mehrtens.

See Documentation/SubmittingPatches

The Signed-off-by: tag indicates that the signer was involved in the development of the patch, or that he/she was in the patch's delivery path.

I googled a bit and found also this:

http://kerneltrap.org/files/Jeremy/DCO.txt

which gives additional clue about what can be behind SOB.

Signature · 2 lines
Best Regards,
Artem Bityutskiy