ucc_geth-fix-build-break-introduced-by-commit-09f75cd7bf13720738e6a196cc0107ce9a5bd5a0-checkpatch-fixes
Subsystems (2)
PATCH 4/4 ucc_geth-fix-build-break-introduced-by-commit-09f75cd7bf13720738e6a196cc0107ce9a5bd5a0-checkpatch-fixes
From: Andrew Morton <[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
@@ -3454,7 +3454,7 @@ static int ucc_geth_rx(struct ucc_geth_pu16 length, howmany =0 ;u32 bd_status;u8 *bdBuffer; -struct net_device * dev; +struct net_device *dev;ugeth_vdbg ("%s: IN" , __FUNCTION__);
_
David Miller
maintainerFrom: [email protected]
Date: Tue, 16 Oct 2007 14:24:12 -0700
Quoted 9 lines
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]>Signed-off-by Andrew Morton <[email protected]>
Please help my eyes, I can't see the fix:
drivers/net/ucc_geth.c static int ucc_geth_rx(struct ucc_geth_p · line 3460
Quoted 9 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@@ -3454,7 +3454,7 @@ static int ucc_geth_rx(struct ucc_geth_pu16 length, howmany =0 ;u32 bd_status;u8 *bdBuffer; -struct net_device * dev; +struct net_device *dev;ugeth_vdbg ("%s: IN" , __FUNCTION__);
This might be a coding style fix, as far as I can see, but I can't imagine how it can effect compilation at all. It just removes a space between the "*" and "dev" but that space is harmless.
Quoted 22 lines · On Wed, 17 Oct 2007 19:37:21 -0700 (PDT) David Miller <[email protected]>…
From: [email protected]
Date: Tue, 16 Oct 2007 14:24:12 -0700Quoted 9 lines
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]>Signed-off-by Andrew Morton <[email protected]>Please help my eyes, I can't see the fix:
Quoted 7 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@@ -3454,7 +3454,7 @@ static int ucc_geth_rx(struct ucc_geth_pu16 length, howmany =0 ;u32 bd_status;u8 *bdBuffer; -struct net_device * dev; +struct net_device *dev;
Quoted 6 lines
drivers/net/ucc_geth.c static int ucc_geth_rx(struct ucc_geth_p · line 3460
Quoted 2 lines
drivers/net/ucc_geth.c renamed from drivers/net/ucc_geth.c~ucc_geth-fix-build-break-introduced-by-commit-09f75cd7bf13720738e6a196cc0107ce9a5bd5a0-checkpatch-fixes +0
-0ugeth_vdbg ("%s: IN" , __FUNCTION__);This might be a coding style fix, as far as I can see, but I can't imagine how it can effect compilation at all. It just removes a space between the "*" and "dev" but that space is harmless.
uh, this is fallout from the akpmbot.
- Someone sent a patch which I named foo.patch
- When I applied it I saw valid checkpatch warnings, so I queed a patch to fix them, called foo-checkpatch-fixes.patch with the intention that it later be folded into foo.patch
- You merged foo.patch. But foo-checkpatch-fixes.patch still applied, so I retained it.
- I sent you the runt foo-checkpatch-fixes.patch.
Normally when this happens I'll just curse the original patch author and drop foo-checkpatch-fixes.patch. This time I didn't notice.
(Perhaps people should be adding a checkpatch run to their git-commit scripts..)
Quoted 3 lines · On Wed, 17 Oct 2007 19:47:59 -0700 Andrew Morton <[email protected]>…
- When I applied it I saw valid checkpatch warnings, so I queed a patch to fix them, called foo-checkpatch-fixes.patch with the intention that it later be folded into foo.patch
incidentally, the reason I do it this way is to attempt to educate patch originators into running checkpatch, rather than out of sheer joy for the task. Hopefully I'll have to do this less often as time passes.
box:/usr/src/25> ls -lR patches|grep checkpatch-fixes | wc -l 38