Skip to contentSkip to conversation

h8300-remove-extranous-__big_endian-definition.patch removed from -mm tree

merged [email protected] 1 participant 1 message Mar 23, 2018 Stable branch

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: h8300: remove extraneous __BIG_ENDIAN definition
has been removed from the -mm tree. Its filename was
h8300-remove-extranous-__big_endian-definition.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Arnd Bergmann <[email protected]>
Subject: h8300: remove extraneous __BIG_ENDIAN definition

A bugfix I did earlier caused a build regression on h8300, which defines the __BIG_ENDIAN macro in a slightly different way than the generic code:

arch/h8300/include/asm/byteorder.h:5:0: warning: "__BIG_ENDIAN" redefined

We don't need to define it here, as the same macro is already provided by the linux/byteorder/big_endian.h, and that version does not conflict.

While this is a v4.16 regression, my earlier patch also got backported to the 4.14 and 4.15 stable kernels, so we need the fixup there as well.

Fixes 101110f6271c ("Kbuild: always define endianess in kconfig.h")
Cc Yoshinori Sato <[email protected]>

---

 arch/h8300/include/asm/byteorder.h |    1 -
 1 file changed, 1 deletion(-)
arch/h8300/include/asm/byteorder.h renamed from arch/h8300/include/asm/byteorder.h~h8300-remove-extranous-__big_endian-definition +0 -1
diff -puN arch/h8300/include/asm/byteorder.h~h8300-remove-extranous-__big_endian-definition arch/h8300/include/asm/byteorder.h
@@ -2,7 +2,6 @@
 #ifndef __H8300_BYTEORDER_H__
 #define __H8300_BYTEORDER_H__
 
-#define __BIG_ENDIAN __ORDER_BIG_ENDIAN__
 #include <linux/byteorder/big_endian.h>
 
 #endif

_

Patches currently in -mm which might be from [email protected] are