2002-04-25 05:18:21

by Bob Tracy

[permalink] [raw]
Subject: [PATCH] miscellaneous 2.5.10 cleanup

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
[email protected]
-----------------------------------------------------------------------