]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.10-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 01:46:19 +0000 (18:46 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 01:46:19 +0000 (18:46 -0700)
added patches:
xtensa-don-t-use-echo-e-needlessly.patch

queue-3.10/series
queue-3.10/xtensa-don-t-use-echo-e-needlessly.patch [new file with mode: 0644]

index 0de0d735d454f9b57d41ee89e74feb068a595747..374e0be195fa54b953b47295a16083ee7f36d5f8 100644 (file)
@@ -18,3 +18,4 @@ auxdisplay-ks0108-fix-refcount.patch
 of-address-don-t-loop-forever-in-of_find_matching_node_by_address.patch
 drivercore-fix-unregistration-path-of-platform-devices.patch
 hpfs-update-ctime-and-mtime-on-directory-modification.patch
+xtensa-don-t-use-echo-e-needlessly.patch
diff --git a/queue-3.10/xtensa-don-t-use-echo-e-needlessly.patch b/queue-3.10/xtensa-don-t-use-echo-e-needlessly.patch
new file mode 100644 (file)
index 0000000..d6aac4e
--- /dev/null
@@ -0,0 +1,50 @@
+From 123f15e669d5a5a2e2f260ba4a5fc2efd93df20e Mon Sep 17 00:00:00 2001
+From: Max Filippov <jcmvbkbc@gmail.com>
+Date: Thu, 22 Aug 2013 18:09:47 +0400
+Subject: xtensa: don't use echo -e needlessly
+
+From: Max Filippov <jcmvbkbc@gmail.com>
+
+commit 123f15e669d5a5a2e2f260ba4a5fc2efd93df20e upstream.
+
+-e is not needed to output strings without escape sequences. This breaks
+big endian FSF build when the shell is dash, because its builtin echo
+doesn't understand '-e' switch and outputs it in the echoed string.
+
+Reported-by: Guenter Roeck <linux@roeck-us.net>
+Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
+Signed-off-by: Chris Zankel <chris@zankel.net>
+Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ arch/xtensa/Makefile      |    4 ++--
+ arch/xtensa/boot/Makefile |    2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+--- a/arch/xtensa/Makefile
++++ b/arch/xtensa/Makefile
+@@ -55,10 +55,10 @@ ifneq ($(CONFIG_LD_NO_RELAX),)
+ LDFLAGS := --no-relax
+ endif
+-ifeq ($(shell echo -e __XTENSA_EB__ | $(CC) -E - | grep -v "\#"),1)
++ifeq ($(shell echo __XTENSA_EB__ | $(CC) -E - | grep -v "\#"),1)
+ CHECKFLAGS += -D__XTENSA_EB__
+ endif
+-ifeq ($(shell echo -e __XTENSA_EL__ | $(CC) -E - | grep -v "\#"),1)
++ifeq ($(shell echo __XTENSA_EL__ | $(CC) -E - | grep -v "\#"),1)
+ CHECKFLAGS += -D__XTENSA_EL__
+ endif
+--- a/arch/xtensa/boot/Makefile
++++ b/arch/xtensa/boot/Makefile
+@@ -12,7 +12,7 @@
+ KBUILD_CFLAGS += -fno-builtin -Iarch/$(ARCH)/boot/include
+ HOSTFLAGS     += -Iarch/$(ARCH)/boot/include
+-BIG_ENDIAN    := $(shell echo -e __XTENSA_EB__ | $(CC) -E - | grep -v "\#")
++BIG_ENDIAN    := $(shell echo __XTENSA_EB__ | $(CC) -E - | grep -v "\#")
+ export ccflags-y
+ export BIG_ENDIAN