Skip to contentSkip to conversation

Compile fix for pmac IDE driver

PATCH In review Paul Mackerras 2 participants 3 messages May 19, 2003 – May 22, 2003 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Compile fix for pmac IDE driver

Bart,

The version of drivers/ide/ppc/pmac.c in Linus' tree at the moment doesn't compile. The one-liner below fixes it. Please apply.

Thanks,
Paul.

drivers/ide/ppc/pmac.c +1 -1
diff -urN linux-2.5/drivers/ide/ppc/pmac.c pmac-2.5/drivers/ide/ppc/pmac.c
@@ -721,7 +721,7 @@
 		}
 	}
 
-	return NODEV;
+	return 0;
 }
 
 void __init
#1 lore raw

Thanks Paul.

I've seen this fix also in hch's pmac compilation fixes patch, so I think it will be in Linus' tree soon.

--
Bartlomiej

Quoted 20 lines · Paul Mackerras

Bart,

The version of drivers/ide/ppc/pmac.c in Linus' tree at the moment doesn't compile. The one-liner below fixes it. Please apply.

Thanks,
Paul.

diff -urN linux-2.5/drivers/ide/ppc/pmac.c pmac-2.5/drivers/ide/ppc/pmac.c

drivers/ide/ppc/pmac.c +1 -1
@@ -721,7 +721,7 @@
 		}
 	}
 
-	return NODEV;
+	return 0;
 }
 
 void __init
#2 lore raw

Bart,

Quoted 4 lines

Thanks Paul.

I've seen this fix also in hch's pmac compilation fixes patch, so I think it will be in Linus' tree soon.

It hasn't got into Linus' tree yet. Could you send it on to him, or alternatively do you mind if I send it to him?

Thanks,
Paul.

drivers/ide/ppc/pmac.c +1 -1
diff -urN linux-2.5/drivers/ide/ppc/pmac.c pmac-2.5/drivers/ide/ppc/pmac.c
@@ -721,7 +721,7 @@
 		}
 	}
 
-	return NODEV;
+	return 0;
 }
 
 void __init