From patchwork Thu Mar 22 23:17:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 132314 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp1449537ljb; Thu, 22 Mar 2018 16:17:20 -0700 (PDT) X-Google-Smtp-Source: AG47ELsCddM54D587Sw6suB+CVDmcms+yfYqW/j3Oyot39rcbWNxdS+DQrxpZinNmF5t03SpF5qt X-Received: by 10.101.96.47 with SMTP id p15mr12465904pgu.430.1521760639953; Thu, 22 Mar 2018 16:17:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521760639; cv=none; d=google.com; s=arc-20160816; b=XZ70iIGN49s0rfuqx8jcogwBvn2X3mYGP1lzml3axpzA6qQuaykERL6tVWVW3vZZII igTQOKuT842j73BrFwCZRFjGVDGgJQKsdKBc5mEPc5jmVLlYk0DFai9Hk7/nLY6D9Pyd QWGUCRNRKc9xow9OH0FjoUTaF1t+sA6iFP+L9mS8Bvg/5HI4SJCkLDSXpFhIDbjGqTHW +vx9C3HaqHid6U5CdH+Nc3fg5DLQHwu2MgubcbhKWERlof/lOFkZFXWr6/7M0jFc4sh/ LY9ZxBEMPwetL5h34tCw7ToUFdjUBl5bIAmf/2HurxmIN6/qZYyhV7KKV24tefGW9wDP 3ITw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:subject:to:from :date:arc-authentication-results; bh=Kmtc9l4iFDLwiJR2pa6jKbujwvXWCeW95U6VeBWU+WY=; b=xfICQJ2JY6qVpWZgB9en3tbQAT/nmDbJsokJ7XHtxhssd0Gs2tNpQZyUXoDfi00qVg T6xmngn9GgN+IC3i+TO7bvO4eydW595MbkcrXrESvDwyAb0V6vrHSeeiDXKRUnFQiuKZ uSXJZR1YDKwTqrbES7MO0MvXtg3FEXxgsNniFtw1JkuOw7I4V0HtOohpuI6D3TDgFSwD DhpR9o4dF3uHNAqslF0s2o+UllTxLDibmcoE/uc9kejHmdr9e7L/76ci6LVX5QG+kuX1 KWGut7h0uLmOmz0oeY+pX10WV7ZEX8/gpa8KQ0o8XYYORat3b0FDQvMzdO55RsOslTmk pUbQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u26si3950464pge.692.2018.03.22.16.17.19; Thu, 22 Mar 2018 16:17:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751805AbeCVXRT (ORCPT + 11 others); Thu, 22 Mar 2018 19:17:19 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:38520 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751761AbeCVXRS (ORCPT ); Thu, 22 Mar 2018 19:17:18 -0400 Received: from akpm3.svl.corp.google.com (unknown [104.133.9.71]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 1E2EE11BE; Thu, 22 Mar 2018 23:17:18 +0000 (UTC) Date: Thu, 22 Mar 2018 16:17:17 -0700 From: akpm@linux-foundation.org To: akpm@linux-foundation.org, arnd@arndb.de, mm-commits@vger.kernel.org, stable@vger.kernel.org, torvalds@linux-foundation.org, ysato@users.sourceforge.jp Subject: [patch 05/13] h8300: remove extraneous __BIG_ENDIAN definition Message-ID: <20180322231717.4JIPqhMN-%akpm@linux-foundation.org> User-Agent: s-nail v14.8.16 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Arnd Bergmann 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. Link: http://lkml.kernel.org/r/20180313120752.2645129-1-arnd@arndb.de Fixes: 101110f6271c ("Kbuild: always define endianess in kconfig.h") Signed-off-by: Arnd Bergmann Cc: Yoshinori Sato Cc: Signed-off-by: Andrew Morton <> --- arch/h8300/include/asm/byteorder.h | 1 - 1 file changed, 1 deletion(-) diff -puN arch/h8300/include/asm/byteorder.h~h8300-remove-extranous-__big_endian-definition arch/h8300/include/asm/byteorder.h --- a/arch/h8300/include/asm/byteorder.h~h8300-remove-extranous-__big_endian-definition +++ a/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 #endif