[PATCH] miscellaneous 2.5.10 cleanup

From: Bob_Tracy (rct@gherkin.frus.com)
Date: Thu Apr 25 2002 - 00:18:16 EST


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/



This archive was generated by hypermail 2b29 : Tue Apr 30 2002 - 22:00:10 EST