Skip to contentSkip to conversation

ucc_geth-fix-build-break-introduced-by-commit-09f75cd7bf13720738e6a196cc0107ce9a5bd5a0-checkpatch-fixes

PATCH In review [email protected] 2 participants 3 messages Nov 21, 2007 – Nov 24, 2007

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

PATCH 3/8 ucc_geth-fix-build-break-introduced-by-commit-09f75cd7bf13720738e6a196cc0107ce9a5bd5a0-checkpatch-fixes

From: Andrew Morton <[email protected]>

Cc "David S. Miller" <[email protected]>
Cc Emil Medve <[email protected]>
Cc Jeff Garzik <[email protected]>
Cc Kumar Gala <[email protected]>
Cc Li Yang <[email protected]>
Cc Paul Mackerras <[email protected]>

---

 drivers/net/ucc_geth.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ucc_geth.c renamed from drivers/net/ucc_geth.c~ucc_geth-fix-build-break-introduced-by-commit-09f75cd7bf13720738e6a196cc0107ce9a5bd5a0-checkpatch-fixes +1 -1
diff -puN drivers/net/ucc_geth.c~ucc_geth-fix-build-break-introduced-by-commit-09f75cd7bf13720738e6a196cc0107ce9a5bd5a0-checkpatch-fixes drivers/net/ucc_geth.c
@@ -3443,7 +3443,7 @@ static int ucc_geth_rx(struct ucc_geth_p
 	u16 length, howmany = 0;
 	u32 bd_status;
 	u8 *bdBuffer;
-	struct net_device * dev;
+	struct net_device *dev;
 
 	ugeth_vdbg("%s: IN", __FUNCTION__);
 

_

#1 lore raw
Quoted 18 lines · [email protected] wrote:

From: Andrew Morton <[email protected]>

Cc "David S. Miller" <[email protected]>
Cc Emil Medve <[email protected]>
Cc Jeff Garzik <[email protected]>
Cc Kumar Gala <[email protected]>
Cc Li Yang <[email protected]>
Cc Paul Mackerras <[email protected]>

---

 drivers/net/ucc_geth.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/net/ucc_geth.c~ucc_geth-fix-build-break-introduced-by-commit-09f75cd7bf13720738e6a196cc0107ce9a5bd5a0-checkpatch-fixes drivers/net/ucc_geth.c

drivers/net/ucc_geth.c static int ucc_geth_rx(struct ucc_geth_p · line 3446

Quoted 5 lines
drivers/net/ucc_geth.c renamed from drivers/net/ucc_geth.c~ucc_geth-fix-build-break-introduced-by-commit-09f75cd7bf13720738e6a196cc0107ce9a5bd5a0-checkpatch-fixes +1 -1
@@ -3443,7 +3443,7 @@ static int ucc_geth_rx(struct ucc_geth_p
 	u16 length, howmany = 0;
 	u32 bd_status;
 	u8 *bdBuffer;
-	struct net_device * dev;
+	struct net_device *dev;

ACK with a fixed description...

#2 lore raw
Quoted 15 lines · On Fri, 23 Nov 2007 20:58:51 -0500 Jeff Garzik <[email protected]> wrote:
Quoted 14 lines · [email protected] wrote:

From: Andrew Morton <[email protected]>

Cc "David S. Miller" <[email protected]>
Cc Emil Medve <[email protected]>
Cc Jeff Garzik <[email protected]>
Cc Kumar Gala <[email protected]>
Cc Li Yang <[email protected]>
Cc Paul Mackerras <[email protected]>

---

 drivers/net/ucc_geth.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 12 lines

drivers/net/ucc_geth.c static int ucc_geth_rx(struct ucc_geth_p · line 3446

Quoted 9 lines

diff -puN drivers/net/ucc_geth.c~ucc_geth-fix-build-break-introduced-by-commit-09f75cd7bf13720738e6a196cc0107ce9a5bd5a0-checkpatch-fixes drivers/net/ucc_geth.c

drivers/net/ucc_geth.c renamed from drivers/net/ucc_geth.c~ucc_geth-fix-build-break-introduced-by-commit-09f75cd7bf13720738e6a196cc0107ce9a5bd5a0-checkpatch-fixes +1 -1
@@ -3443,7 +3443,7 @@ static int ucc_geth_rx(struct ucc_geth_p
 	u16 length, howmany = 0;
 	u32 bd_status;
 	u8 *bdBuffer;
-	struct net_device * dev;
+	struct net_device *dev;

ACK with a fixed description...

Well... I do these little fixups

a) to remind originators that they should be checking their stuff with checkpatch

b) to fold into the offending base patch prior to sending upstream

c) to let upstream (in this case you) know that the patch had coding-style problems.

as it appears that you merged the base patch without noticing the error, and without running checkpatch I don't think it's worth merging a silly one-liner like this on its own.