The patch titled
     PPC: fix missed increment on device interface counter
has been added to the -mm tree.  Its filename is
     ppc-fix-missed-increment-on-device-interface-counter.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: PPC: fix missed increment on device interface counter
From: Cyrill Gorcunov <[EMAIL PROTECTED]>

This patch adds simple increment on device interface counter
(it seems to be accidently missed)

Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
Cc: Kumar Gala <[EMAIL PROTECTED]>
Cc: Paul Mackerras <[EMAIL PROTECTED]>
Cc: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
Cc: Olof Johansson <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 arch/powerpc/platforms/pasemi/electra_ide.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN 
arch/powerpc/platforms/pasemi/electra_ide.c~ppc-fix-missed-increment-on-device-interface-counter
 arch/powerpc/platforms/pasemi/electra_ide.c
--- 
a/arch/powerpc/platforms/pasemi/electra_ide.c~ppc-fix-missed-increment-on-device-interface-counter
+++ a/arch/powerpc/platforms/pasemi/electra_ide.c
@@ -42,7 +42,7 @@ static int __devinit electra_ide_init(vo
        np = of_find_compatible_node(NULL, "ide", "electra-ide");
        i = 0;
 
-       while (np && i < MAX_IFS) {
+       while (np && i++ < MAX_IFS) {
                memset(r, 0, sizeof(r));
 
                /* pata_platform wants two address ranges: one for the base 
registers,
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

git-powerpc.patch
ppc-fix-missed-increment-on-device-interface-counter.patch
git-sparc64.patch
git-x86.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to