+ i386-include-asm-bugsh-in-bugsc-for-check_bugs-prototype.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     i386: include asm/bugs.h in bugs.c for check_bugs prototype
has been added to the -mm tree.  Its filename is
     i386-include-asm-bugsh-in-bugsc-for-check_bugs-prototype.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: i386: include asm/bugs.h in bugs.c for check_bugs prototype
From: Josh Triplett <josh@xxxxxxxxxx>

C files should include the header files that prototype their functions.

Eliminates a sparse warning:
warning: symbol 'check_bugs' was not declared. Should it be static?

Signed-off-by: Josh Triplett <josh@xxxxxxxxxx>
Cc: Andi Kleen <ak@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/i386/kernel/cpu/bugs.c |    1 +
 1 files changed, 1 insertion(+)

diff -puN arch/i386/kernel/cpu/bugs.c~i386-include-asm-bugsh-in-bugsc-for-check_bugs-prototype arch/i386/kernel/cpu/bugs.c
--- a/arch/i386/kernel/cpu/bugs.c~i386-include-asm-bugsh-in-bugsc-for-check_bugs-prototype
+++ a/arch/i386/kernel/cpu/bugs.c
@@ -11,6 +11,7 @@
  */
 #include <linux/init.h>
 #include <linux/utsname.h>
+#include <asm/bugs.h>
 #include <asm/processor.h>
 #include <asm/i387.h>
 #include <asm/msr.h>
_

Patches currently in -mm which might be from josh@xxxxxxxxxx are

origin.patch
immunize-rcu_dereference-against-crazy-compiler-writers.patch
i386-include-asm-bugsh-in-bugsc-for-check_bugs-prototype.patch
x86_64-include-asm-bugsh-in-bugsc-for-check_bugs.patch
mark-sysrq_sched_debug_show-static.patch
i386-mark-pit_clockevent-static.patch
cfs-mark-print_cfs_stats-static.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux