Some fixes for 2.6.4-wolk-2.3

Lance Albertson <[email protected]> Wed, 07 Apr 2004 17:37:51 -0500
Newsgroups gmane.linux.wolk.devel
Message-ID <[email protected]>
I was messing around trying various drivers to see if they would compile and I
found three errors with fixes. Well, at least fixes that makes it compile :)
Here are the three affected files:

drivers/net/ac3200.c
drivers/net/hp.c
fs/jfs/acl.c

Included is a patch you can apply for the 2.6.4-wolk-2.3 tree. Let me know if
any of these don't fix the problem!

-- 
Lance Albertson <[email protected]>
Gentoo Infrastructure

---
Public GPG key:  <http://www.ramereth.net/lance.asc>
Key fingerprint: 0423 92F3 544A 1282 5AB1  4D07 416F A15D 27F4 B742

ramereth/irc.freenode.net
wolk.patch (text/plain, 1.6 KB)
diff -urwb linux-2.6.4-wolk-2.3.orig/drivers/net/ac3200.c linux-2.6.4-wolk-2.3/drivers/net/ac3200.c
--- linux-2.6.4-wolk-2.3.orig/drivers/net/ac3200.c	2004-04-07 17:30:12.885248352 -0500
+++ linux-2.6.4-wolk-2.3/drivers/net/ac3200.c	2004-04-07 16:02:19.000000000 -0500
@@ -205,7 +205,7 @@
 		printk(", assigning");
 	}
 
-	retval = request_irq(dev->irq, ei_interrupt, SA_NET_RANDOMev);
+	retval = request_irq(dev->irq, ei_interrupt, SA_NET_RANDOM, dev->name, dev);
 	if (retval) {
 		printk (" nothing! Unable to get IRQ %d.\n", dev->irq);
 		goto out1;
diff -urwb linux-2.6.4-wolk-2.3.orig/drivers/net/hp.c linux-2.6.4-wolk-2.3/drivers/net/hp.c
--- linux-2.6.4-wolk-2.3.orig/drivers/net/hp.c	2004-04-07 17:30:19.601227368 -0500
+++ linux-2.6.4-wolk-2.3/drivers/net/hp.c	2004-04-07 16:02:19.000000000 -0500
@@ -184,7 +184,7 @@
 				outb_p(irqmap[irq] | HP_RUN, ioaddr + HP_CONFIGURE);
 				outb_p( 0x00 | HP_RUN, ioaddr + HP_CONFIGURE);
 				if (irq == probe_irq_off(cookie)		 /* It's a good IRQ line! */
-					&& request_irq (irq, ei_interrupt, SA_NET_RANDOM0, "hp", dev) == 0) {
+					&& request_irq (irq, ei_interrupt, SA_NET_RANDOM, "hp", dev) == 0) {
 					printk(" selecting IRQ %d.\n", irq);
 					dev->irq = *irqp;
 					break;
diff -urwb linux-2.6.4-wolk-2.3.orig/fs/jfs/acl.c linux-2.6.4-wolk-2.3/fs/jfs/acl.c
--- linux-2.6.4-wolk-2.3.orig/fs/jfs/acl.c	2004-04-07 17:30:29.603706760 -0500
+++ linux-2.6.4-wolk-2.3/fs/jfs/acl.c	2004-04-07 16:02:19.000000000 -0500
@@ -247,7 +247,7 @@
 	return rc;
 }
 
-static int jfs_acl_chmod(struct inode *inode)
+int jfs_acl_chmod(struct inode *inode)
 {
 	struct posix_acl *acl, *clone;
 	int rc;
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFAdILBQW+hXSf0t0IRAjTbAKDJf3rG0+kQ0HOQArmaQDvRWxgrWQCgiZ17
RWqKUzIdSPr3I4PLUOf1auo=
=e89a
-----END PGP SIGNATURE-----