All of lore.kernel.org
 help / color / mirror / Atom feed
* Compile fixes for 2.4.10-ac7
@ 2001-10-06  2:26 Udo A. Steinberg
  0 siblings, 0 replies; only message in thread
From: Udo A. Steinberg @ 2001-10-06  2:26 UTC (permalink / raw)
  To: Alan Cox, Linux Kernel


Hi Alan,

Below is a patch for -ac7 that fixes a few gcc warnings, namely:

* Adds a missing return statement in ppro_with_ram_bug
* Ifdefs out disable_ide_dma because its only caller is also ifdef'd
  out

Also note that the recent smbfs updates introduced a second definition
for ERRdiskfull in include/linux/smbno.h (lines 43, 107). I am not sure
which one needs to go.

Regards,
-Udo.

diff -urN linux-2.4.10-ac/arch/i386/kernel/dmi_scan.c linux-2.4.10-ac-mod/arch/i386/kernel/dmi_scan.c
--- linux-2.4.10-ac/arch/i386/kernel/dmi_scan.c Sat Oct  6 03:54:02 2001
+++ linux-2.4.10-ac-mod/arch/i386/kernel/dmi_scan.c     Sat Oct  6 04:14:34 2001
@@ -190,7 +190,8 @@
  *     rule needs to be improved to match specific BIOS revisions with
  *     corruption problems
  */
-
+
+#if 0
 static __init int disable_ide_dma(struct dmi_blacklist *d)
 {
 #ifdef CONFIG_BLK_DEV_IDE
@@ -203,6 +204,7 @@
 #endif
        return 0;
 }
+#endif

 /*
  * Reboot options and system auto-detection code provided by
diff -urN linux-2.4.10-ac/arch/i386/kernel/setup.c linux-2.4.10-ac-mod/arch/i386/kernel/setup.c
--- linux-2.4.10-ac/arch/i386/kernel/setup.c    Sat Oct  6 03:54:02 2001
+++ linux-2.4.10-ac-mod/arch/i386/kernel/setup.c        Sat Oct  6 04:11:03 2001
@@ -2925,6 +2925,7 @@
                return 1;
        }
        printk(KERN_INFO "Your Pentium Pro seems ok.\n");
+       return 0;
 }

 /*

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-06  2:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-06  2:26 Compile fixes for 2.4.10-ac7 Udo A. Steinberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.