[warnings] [0/8] fix warnings in mainline

From: wli@holomorphy.com
Date: Thu Dec 05 2002 - 05:52:59 EST


Patch series vs. 2.5.50-bk as of Thu Dec 5 02:26:45 PST 2002
This patch series fixes various warnings encountered compiling
2.5.50-bk as of the time posted. Various driver etc. maintainers
cc:'d for proper acks etc.

These fixes have been pending for a while; hence Linus on the To:
line. Otherwise it's pure driver/etc. maintainer acks.

[0/8] warn-2.5.50-0 fix warnings in mainline
        numerous warnings appear compiling mainling 2.5.50 kernels
[1/8] warn-2.5.50-hugetlbfs-1 fix hugetlbfs security.h problem
        hugetlbfs wants security_inode_setattr(), which is an inline
        defined in <linux/security.h>
[2/8] warn-2.5.50-serial-2 fix uninitialized quot in drivers/serial/core.c
        quot needs to be a baud divisor; this sets it to something sane
        so that things can proceed
[3/8] warn-2.5.50-suspend-3 fix duplicate decls in swsusp
        swsusp conditionally declares software_suspend() as an inline
        no-op; remove reboot.h extern declaration.
[4/8] warn-2.5.50-cyrix-4 remove unused cr0 in cyrix.c
        cr0 is just not used here. Remove it.
[5/8] warn-2.5.50-starfire-5 fix printk() type warning in drivers/net/starfire.c
        Cast to (u64) and use %Lx in all cases.
[6/8] warn-2.5.50-ioapic-6 fix mismatched function type in arch/i386/kernel/ioapic.c
        the function needs to return int; give it a return type and
        return 0 unconditionally from it (as it cannot fail)
[7/8] warn-2.5.50-tulip-7 fix printk() type warning in drivers/net/tulip/interrupt.c
        Cast to (u64) and use %Lx in all cases.
[8/8] warn-2.5.50-floppy-8 fix unused function warning in drivers/block/floppy.c
        unregister_devfs_entries() is only used in the #if MODULE
        case; move it into #if MODULE so it doesn't affect non-modular
-
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 : Sat Dec 07 2002 - 22:00:22 EST