Commit:     71e4eda8ce698178ee448ff82bdc5803c77a736d
Parent:     67dd5a25f4efbfccf973159429cb20acdc5b0e0e
Author:     Benjamin Herrenschmidt <[EMAIL PROTECTED]>
AuthorDate: Sat Oct 6 18:52:27 2007 +1000
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Sat Oct 6 09:32:56 2007 -0700

    Fix non-terminated PCI match table in PowerMac IDE
    The PCI device table in the powermac IDE driver isn't properly
    terminated.  Depending on how your kernel is linked and other random
    factors, you can end up with this driver matched against any other PCI
    device in your system, possibly crashing at boot.
    Thanks to Heikki for tracking this down with me, the bug have been there
    for some time, though it rarely hurts due to luck.  In this case, the
    switch from .22 to .23-rc9 is causing it to show up due to differences
    in the resulting layout of .data I suppose.
    Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
    Cc: Paul Mackerras <[EMAIL PROTECTED]>
    Cc: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]>
    Cc: Heikki Lindholm <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 drivers/ide/ppc/pmac.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/ide/ppc/pmac.c b/drivers/ide/ppc/pmac.c
index f19eb6d..2fb047b 100644
--- a/drivers/ide/ppc/pmac.c
+++ b/drivers/ide/ppc/pmac.c
@@ -1546,6 +1546,7 @@ static struct pci_device_id pmac_ide_pci_match[] = {
          PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
          PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+       {},
 static struct pci_driver pmac_ide_pci_driver = {
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to