Skip to contentSkip to conversation

miscellaneous 2.5.10 cleanup

PATCH New Bob_Tracy 1 participant 1 message Apr 25, 2002

Subsystems (3)
lore
Share & tools
lore

Bob_Tracy

author
#0 lore raw

PATCH 1/1 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.
drivers/scsi/aic7xxx/Makefile renamed from drivers/scsi/aic7xxx/Makefile.orig +1 -1
@@ -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
kernel/acct.c renamed from kernel/acct.c.orig +0 -2
@@ -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);
fs/exportfs/expfs.c renamed from fs/exportfs/expfs.c.orig +1 -1
@@ -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,
Signature · 4 lines
-----------------------------------------------------------------------
Bob Tracy                   WTO + WIPO = DMCA? http://www.anti-dmca.org
[email protected]
-----------------------------------------------------------------------