lkml.org 
[lkml]   [2002]   [Apr]   [25]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From(Bob_Tracy)
Subject[PATCH] miscellaneous 2.5.10 cleanup
DateThu, 25 Apr 2002 00:18:16 -0500 (CDT)
Several things still broken in 2.5.10.  Patches appended below
except as noted in problem summary statements.

(1) drivers/scsi/aic7xxx/Makefile still contains an "aix7xxx" typo.
(2) kernel/acct.c still contains BUG_ON() statement that results in
    an "Oops" when "accton" is run on non-SMP systems.
(3) fs/exportfs/expfs.c compile error due to "bad parameter list in
    #define".
(4) drivers/usb/storage/jumpshot.c and datafab.c: several occurences of
	memcpy(sg[sg_idx].address + current_sg_offset, ...)
    need fixing (no "address" member of structure).  No patch supplied.

--- linux/drivers/scsi/aic7xxx/Makefile.orig	Wed Apr 24 23:45:10 2002
+++ linux/drivers/scsi/aic7xxx/Makefile	Wed Apr 24 23:47:46 2002
@@ -33,4 +33,4 @@
 aicasm/aicasm: aicasm/*.[chyl]
 	$(MAKE) -C aicasm
 
-aix7xxx_mod.o: aic7xxx_seq.h aic7xxx_reg.h
+aic7xxx_mod.o: aic7xxx_seq.h aic7xxx_reg.h
--- linux/kernel/acct.c.orig	Mon Apr 22 09:33:45 2002
+++ linux/kernel/acct.c	Mon Apr 22 10:39:01 2002
@@ -160,8 +160,6 @@
 {
 	struct file *old_acct = NULL;
 
-	BUG_ON(!spin_is_locked(&acct_globals.lock));
-
 	if (acct_globals.file) {
 		old_acct = acct_globals.file;
 		del_timer(&acct_globals.timer);
--- linux/fs/exportfs/expfs.c.orig	Tue Apr 23 08:43:09 2002
+++ linux/fs/exportfs/expfs.c	Tue Apr 23 12:47:24 2002
@@ -34,7 +34,7 @@
 
 #define	CALL(ops,fun) ((ops->fun)?(ops->fun):export_op_default.fun)
 
-#define dprintk(x, ...) do{}while(0)
+#define dprintk(x...) do{}while(0)
 
 struct dentry *
 find_exported_dentry(struct super_block *sb, void *obj, void *parent,
-- 
-----------------------------------------------------------------------
Bob Tracy                   WTO + WIPO = DMCA? http://www.anti-dmca.org
rct@frus.com
-----------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 12:25    [W:0.071 / U:0.590 seconds]
©2003-2008 Jasper Spaans