From patchwork Tue Mar 13 12:07:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 131451 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp646519ljb; Tue, 13 Mar 2018 05:08:34 -0700 (PDT) X-Google-Smtp-Source: AG47ELvsYXu/8Q5vQupa8B4G3VnDCRi1b4Z+q973ZYgExr5Lhuxwr3RdgQzX5Vn9HcMr9HbdaG1r X-Received: by 10.99.189.82 with SMTP id d18mr323797pgp.172.1520942914557; Tue, 13 Mar 2018 05:08:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520942914; cv=none; d=google.com; s=arc-20160816; b=l7/aVp/17JOlH/l2REjV5jrwcrJFcccvA6/kQVh/mKOIARR9YxxNd4cfdb/an/zGJq DC2oZtwTlSAeyNyhAh/O0/5Gffb6TVzijwct7ZVh4asCabNQYsQtCYJozcoTkNqwYwX0 8dFm4nfz0nHFrZaQ0eUuvh4OCymyCDitJckEZ4tDN5Hzwt9DwFy7kiaB3vJu8Rn+MMIT rffGFgIYNkdvTQXBpJi9KmcsJd7nmzNIGxtV1AQOuTFV6jrcKmjZQYvtYBXrqWTR1CS2 wb2DAJVRhEc2zymGgIhV1Dc38XLCk3J80o92BceIRpPTedi+E32u/Zmr7Ew/zfngzDUU 9arw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=PDp6IdM3+RhxsFaTpC9XGLp/8Byp2Nyli7uhNMlRw5U=; b=NJs3NpSrRSasJbavaTgzc7+QSs6WeA9cFEOASv8COJAc27Q5MyNbDVabZlLnxvi+qG 5VGlrwQDE6BObK1Hw8LGWotArte9oFXzl5oiSr+h/RJf2gCReoNRWUQsyFFGskoT1nx8 9lOFCcgwjk/dV9T7JZ6FtgdsepGBQ0PjEH5/+TNBoQEts7Vzrlvi/JYlX3qrby8Ygy1h E12FkEn3LHVLggOh2/qIFRZj/RF5LqJD7JwxqKlUsGVGkPJpBqLEPUy43E32J/qdpJuh K5kZ0AFWvxsiOFnuBHY39VeFL+AyWlPINkNRpZQPmNpzmxMdaOQyibNEkTqtJh1APgQ3 WnMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 s17si35479pgq.421.2018.03.13.05.08.34; Tue, 13 Mar 2018 05:08:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933555AbeCMMIb (ORCPT + 28 others); Tue, 13 Mar 2018 08:08:31 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:35325 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932891AbeCMMI3 (ORCPT ); Tue, 13 Mar 2018 08:08:29 -0400 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.145]) with ESMTPA (Nemesis) id 0Lto5V-1eTq6y22Wj-011DBP; Tue, 13 Mar 2018 13:07:57 +0100 From: Arnd Bergmann To: Andrew Morton , Yoshinori Sato Cc: Arnd Bergmann , stable@vger.kernel.org, uclinux-h8-devel@lists.sourceforge.jp, linux-kernel@vger.kernel.org Subject: [PATCH] h8300: remove extranous __BIG_ENDIAN definition Date: Tue, 13 Mar 2018 13:07:28 +0100 Message-Id: <20180313120752.2645129-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:5KsR3Z1yojKHy5Y74Iy0PpyUgtWfJUmTVynDxs02Er3q3/dn64p FWog4ppmjBiEcHf+eKFmy/AJ/9Rj3PrKqlEOij4LHToY0NuwnvfB8DG8QOlMvBzkHoeNyNl m48iXS/iWmq8KUprQBL6ofq8AQeynIYx7SD3477A9sghUFyAap/15Pn/PdVX8QEZanHMpcj TUrhmrSRlLVYwfLgtHhow== X-UI-Out-Filterresults: notjunk:1; V01:K0:0TSW1c1dtFw=:BhUuKInAoZk9rOKVEdHJq7 IJ93kRSnuF2tkKh93SgPopDNK2y7+PdGzuVxiki/5VsKf2dzQPa3i6ccNt/P/oDQLNsiyHVKU 5H5MmGuOkG3Bm2SQR1vfMAZZQI64VS9OfOeeITWLhXP9k6A/qqzAKVe7eDVeX1tq4bo85HSHD JClNp2iw8lr+lFtgb+eLQshUww2uzE7uZ/3qE+vZX0EtEvUiCgsRfXHPzN0bv6RO2hw7et4jy b7PsTVGG0j4Z8s8aqH6IvCxLmC0yu4pO3SD3B6WIOqmbtx8dLWqrZzJfFGLdqCQS7H4UY+AAI vOabfUIDNkADXEvrP3CWMjptP95dZ3N5rsziESDUih5qJTxyziAFDvIYFKl1IAHQvp19DoqDp 8qbnL3VJkEtUaWVjF1A17JMrZl5SUwedmlIuNn4S7UZAh8iwxQ2ICCakfz6Yfr6TTsg4qhMSh fJl762BaGnHhVRTmvMEHdDRsjiGUgCaf1NxgRjDN9OogE05ItKpddBg0akpnaE64AjZkDhlhH 0yGJmzSPGTT3+2zZysvDjydRUH472F4KTZl4OeSemJGMmECuSoOqddO2AxQ0LdsXYG2uuxqH9 +ujI51R9TCRKuobxRNkbypbO4c0fcm8suxzsC1QuJMtuN9MZKxl93eLuOLsMthdXipVGPxg50 mxpO7bvUcQ2Yog86dpvpxBTKjopGjCcF92qqrdPZPy7o0ncr1q/qWwfL2ZjHWqDjfCtGehqIW 3rCjrdczYbLIlsttS2itKA1zwox8iUf/7TXHAw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Cc: stable@vger.kernel.org Fixes: 101110f6271c ("Kbuild: always define endianess in kconfig.h") Signed-off-by: Arnd Bergmann --- arch/h8300/include/asm/byteorder.h | 1 - 1 file changed, 1 deletion(-) -- 2.9.0 diff --git a/arch/h8300/include/asm/byteorder.h b/arch/h8300/include/asm/byteorder.h index ecff2d1ca5a3..6eaa7ad5fc2c 100644 --- a/arch/h8300/include/asm/byteorder.h +++ b/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