+ git-kbuild-scripts-kconfig-confc-needs-localeh.patch added to -mm tree

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

 



The patch titled
     git-kbuild: scripts/kconfig/conf.c needs locale.h
has been added to the -mm tree.  Its filename is
     git-kbuild-scripts-kconfig-confc-needs-localeh.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** 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

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: git-kbuild: scripts/kconfig/conf.c needs locale.h
From: Kyle McMartin <kyle@xxxxxxxxxxx>

oldconfig fails for me on Debian.  kconfig/conf.c is using setlocale()
without including the locale.h header.

  HOSTCC  scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function 'main':
scripts/kconfig/conf.c:502: warning: implicit declaration of function
'setlocale'
scripts/kconfig/conf.c:502: error: 'LC_ALL' undeclared (first use in
this function)
scripts/kconfig/conf.c:502: error: (Each undeclared identifier is
reported only once

Signed-off-by: Kyle McMartin <kyle@xxxxxxxxxxx>
Cc: Sam Ravnborg <sam@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 scripts/kconfig/conf.c |    2 ++
 1 file changed, 2 insertions(+)

diff -puN scripts/kconfig/conf.c~git-kbuild-scripts-kconfig-confc-needs-localeh scripts/kconfig/conf.c
--- a/scripts/kconfig/conf.c~git-kbuild-scripts-kconfig-confc-needs-localeh
+++ a/scripts/kconfig/conf.c
@@ -3,6 +3,8 @@
  * Released under the terms of the GNU GPL v2.0.
  */
 
+#include <locale.h>
+
 #include <ctype.h>
 #include <stdio.h>
 #include <stdlib.h>
_

Patches currently in -mm which might be from kyle@xxxxxxxxxxx are

i915-fix-invalid-opcode-exception-on-cpus-without-clflush.patch
git-kbuild-scripts-kconfig-confc-needs-localeh.patch
parisc-new-termios-definitions.patch
kill-warnings-in-mptbaseh-on-parisc64.patch
git-x86.patch
iommu-sg-merging-parisc-make-iommu-respect-the-segment-size-limits.patch
alpha-parisc-removing-config-variable-debug_rwlock.patch
documentation-about-unaligned-memory-access.patch
add-cmpxchg_local-to-parisc.patch
modules-make-module_address_lookup-safe.patch
modules-make-module_address_lookup-safe-fix.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