From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59D74C1B087 for ; Fri, 4 Dec 2020 09:44:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2E3A1225AC for ; Fri, 4 Dec 2020 09:44:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387718AbgLDJom (ORCPT ); Fri, 4 Dec 2020 04:44:42 -0500 Received: from mail-oi1-f194.google.com ([209.85.167.194]:35634 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387558AbgLDJom (ORCPT ); Fri, 4 Dec 2020 04:44:42 -0500 Received: by mail-oi1-f194.google.com with SMTP id t9so5534879oic.2; Fri, 04 Dec 2020 01:44:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=teJBkIOdcEyHQREoug8GtgL+HlHmdfdZG73N4EBOAuw=; b=uaMAU9szN5MupmNGuOjN0XvlLjlx1rwswu/IMiIiW4CWLRdp2oJbxHnb+5+zrLXO08 OqB84bDrysQR5uYC7mL/KBn0tUtN+VYfkH+R8RJHkiLdq8+VAMqfgRLdyxcNjXrEwxQF MJqv47tvI00WkJjsZ/4mpuIPRoBIYjERY8KleUPGz6XWHo7a1gOHdUlmlKXO2Lv+I0vw ZvRbBrOl5OqlkHQ9xHCmUy5nJDGZFvB8eDP5X50zWpRGKAgoW3GO+XjS+H7DU+jQ0MIy 55W6ucvz/LgX62Hx3zf87fR0I75QRaBawAZ2GIxH6HqsXyCqateAS6i7SzriJJpqA0oL DPOg== X-Gm-Message-State: AOAM530hYGVweSnHvzAlG7p1OWp/pSn6T80ISAZcCGNZo5PKkbDkZych wPSauecSTz3GnQpwfT89LiVjPMvTTBumRQY4rYA= X-Google-Smtp-Source: ABdhPJzALZqx5c2/Y7FZLK+7tDRjLX0yzFC7Zhfa+CuKjbZ3PDK4yEEUZ+ml5aSiB2o2Y7i8njdtw6KNOXXDrLnW0LE= X-Received: by 2002:aca:5c08:: with SMTP id q8mr862703oib.54.1607075035352; Fri, 04 Dec 2020 01:43:55 -0800 (PST) MIME-Version: 1.0 References: <20201203121916.2870975-1-geert+renesas@glider.be> <20201203121916.2870975-3-geert+renesas@glider.be> In-Reply-To: From: Geert Uytterhoeven Date: Fri, 4 Dec 2020 10:43:44 +0100 Message-ID: Subject: Re: [PATCH v10 2/3] ARM: uncompress: Add OF_DT_MAGIC macro To: Nicolas Pitre Cc: Russell King , Ard Biesheuvel , Marek Szyprowski , Dmitry Osipenko , Linus Walleij , Arnd Bergmann , Eric Miao , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Lukasz Stelmach , Stephen Boyd , Chris Brandt , Linux ARM , Linux-Renesas , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 3, 2020 at 5:27 PM Nicolas Pitre wrote: > On Thu, 3 Dec 2020, Geert Uytterhoeven wrote: > > The DTB magic marker is stored as a 32-bit big-endian value, and thus > > depends on the CPU's endianness. Add a macro to define this value in > > native endianness, to reduce #ifdef clutter and (future) duplication. > > > > Signed-off-by: Geert Uytterhoeven > > Reviewed-by: Nicolas Pitre Thanks, submitted to rmk's patch tracker. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C69AEC433FE for ; Fri, 4 Dec 2020 09:45:01 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 405B2225AC for ; Fri, 4 Dec 2020 09:45:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 405B2225AC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=y+9iAhyhbGRBmCgiu1I/n9CCtdqjnwUdwWM+rMtRlsM=; b=ViUEz4Szq5WNcHBQ2ZEBHxBHv xjw/qUqGnZ8OAc4tD6qTIIzpG/zheKRKtOH9HEwlQliZTyyVMxw25K0oU+lYmXjXZ1mhm102Z14Tg OHh/LeGEoBC+j5SCgMMGq9SnhOJ6ZLnd5tIbNuH1MvK8cKnVFH/XQC/ZHvpVqgCt33gt4xtFp3914 hnga0L0QUH5lCQRogarjxEUYQXtwx+x9XEUO02cZySIR64JUMD3Wagik3ZdqyyNU1kijxZr2nXjAc Ez6Gqsud2Op3YkA7+SvNZr+qk9WnnGp2Jgd70XW8KMV09rha1N2n1Ry59a62QyUuBevAscx2ezK9K 8eV75vCTw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kl7d7-0001BV-S8; Fri, 04 Dec 2020 09:43:57 +0000 Received: from mail-oi1-f193.google.com ([209.85.167.193]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kl7d5-0001An-UL for linux-arm-kernel@lists.infradead.org; Fri, 04 Dec 2020 09:43:56 +0000 Received: by mail-oi1-f193.google.com with SMTP id k2so5474683oic.13 for ; Fri, 04 Dec 2020 01:43:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=teJBkIOdcEyHQREoug8GtgL+HlHmdfdZG73N4EBOAuw=; b=U9UBKSesnyyKop8ZaH3dYI7PAaIB5n9C+Ni8HsZ/SN3m/WmMYJTypeMuIz3T6Yb6ni f89sDLOl7BXQfRyeTcvGAlwkz1LaFxUdLyVCwYJvBBWdLqw+UdL9cBdTI63gTR/7iRFu aZBmd+9Y89/QfpEhibCpgj4n+oACPvxDaT9un3OXhep7jqymCVBUt54rUqz5Xuzyk8iY g/S5+FPXaY5opysg1R3lU6/HwzsFNuhUJetmF/6Uks23KqsjaXSo24Vovl/TXji4C5pa N0bSZrsi+akjtcT5yVisJI1TW3HE94Yax6+C1ocaM2G5fjCyKmwbPVzCtEG5tFYlgWCs mZsg== X-Gm-Message-State: AOAM533YGsG472/CxTLnPdB6nbgMSB3r3iFTw7Na0sXmuwXDGGwDqi2N xp5SIBBLppBT93lIE0vCYyGeL+GiDiyL1jchVJo= X-Google-Smtp-Source: ABdhPJzALZqx5c2/Y7FZLK+7tDRjLX0yzFC7Zhfa+CuKjbZ3PDK4yEEUZ+ml5aSiB2o2Y7i8njdtw6KNOXXDrLnW0LE= X-Received: by 2002:aca:5c08:: with SMTP id q8mr862703oib.54.1607075035352; Fri, 04 Dec 2020 01:43:55 -0800 (PST) MIME-Version: 1.0 References: <20201203121916.2870975-1-geert+renesas@glider.be> <20201203121916.2870975-3-geert+renesas@glider.be> In-Reply-To: From: Geert Uytterhoeven Date: Fri, 4 Dec 2020 10:43:44 +0100 Message-ID: Subject: Re: [PATCH v10 2/3] ARM: uncompress: Add OF_DT_MAGIC macro To: Nicolas Pitre X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201204_044355_988587_9A4D2249 X-CRM114-Status: GOOD ( 13.90 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , Stephen Boyd , Linus Walleij , Lukasz Stelmach , Russell King , Linux Kernel Mailing List , Linux-Renesas , Chris Brandt , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Eric Miao , Dmitry Osipenko , Ard Biesheuvel , Linux ARM , Marek Szyprowski Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Dec 3, 2020 at 5:27 PM Nicolas Pitre wrote: > On Thu, 3 Dec 2020, Geert Uytterhoeven wrote: > > The DTB magic marker is stored as a 32-bit big-endian value, and thus > > depends on the CPU's endianness. Add a macro to define this value in > > native endianness, to reduce #ifdef clutter and (future) duplication. > > > > Signed-off-by: Geert Uytterhoeven > > Reviewed-by: Nicolas Pitre Thanks, submitted to rmk's patch tracker. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel