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 <gorcunov@xxxxxxxxx> This patch adds simple increment on device interface counter (it seems to be accidently missed) Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxx> Cc: Kumar Gala <galak@xxxxxxxxxxxxxxxxx> Cc: Paul Mackerras <paulus@xxxxxxxxx> Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Cc: Olof Johansson <olof@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- 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 gorcunov@xxxxxxxxx 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 majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html