Message ID | 20230522122238.4191762-7-jens.wiklander@linaro.org |
---|---|
State | Accepted |
Commit | 6ba08b3f56c93d2e97e5be3e9deccadd1e8c0796 |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=oo2r05pI; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QPxVj4QtJz20PS for <incoming@patchwork.ozlabs.org>; Mon, 22 May 2023 22:25:33 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EA6E7847C5; Mon, 22 May 2023 14:24:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="oo2r05pI"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 643B4846E5; Mon, 22 May 2023 14:23:14 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9923984701 for <u-boot@lists.denx.de>; Mon, 22 May 2023 14:23:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jens.wiklander@linaro.org Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4f13d8f74abso6645599e87.0 for <u-boot@lists.denx.de>; Mon, 22 May 2023 05:23:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684758186; x=1687350186; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=fTm7XVsRWqH2HCRI9krBqQuQdUq136YutGjJEaeI4i4=; b=oo2r05pILUiyxbRcxUbCt9aBSDf1oiLbuhSnqbi8bta6GtmQvsQNB2m36/aadk7QH5 CEWm9hsCMLUwzQphqoMNVjDWW4uIwO5G6vCQjjBppoYB9wn4I7JBgKNh6sMDF5l3MnFJ jN4xCWZfYg77rjiOQSIfqNhgUIJ/WmbcHHAvnhXhKcjk6cHd5n3b4sccpLnVhOqXDWMl Gh00o3Au4aD1j6zeOUl39AcZsKV5+qX/UcWFB82CAYqvgXXoHkNkOFbhOPyiKzV/p+P8 ldEDPO5qaGFB3Mmu+Nsr9x0F67r29Yyvmkz9hXZPqzuCi4M/CN6tE5uJPMvaxVNbYlzz kX+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684758186; x=1687350186; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fTm7XVsRWqH2HCRI9krBqQuQdUq136YutGjJEaeI4i4=; b=DiPGAAqcLENgjtiEiDy/xnlZPDP59DCEqaaUU+6dyZp+EdERphPMc7vJkQLcNTmebw CxDc1uFplXk7+4BvUZrr9jJinqBRAJZDECd5NbHk3MDaNsbEeaLnE++3RkXAyRWseUiC g92LkTsXig2+AWSxxsvpNOU3qOxQzNnLaDeWobYMk91+qbAkMJNqHq6Fi2/Q2HPfFzQx EvYZBxbuZH8Tou2I0E12j1VzsYRxoqQ3+X+Ylmm/VwzfENVChC3reenQORRA3JQ4yNck BOuy9pVgaz8X0MiR8C0Yj2U04S0c8ceN9bMoKJEaLrphTUU6IBLo6PXakUAtu5i9iiw8 dpVg== X-Gm-Message-State: AC+VfDxtZbIRwOsnRxvhUJuUhuLg0kvWTv7h7GQTIkhisHfRf+DYpDth BpJn51qYwBU47jbK8J1TDpihYPDm54aBM09xwRw= X-Google-Smtp-Source: ACHHUZ4dVNPnsFfz2BAESY6r6aoue5MyxLHfnCqJPzPkGF4N1x/4qmQEIekavTbLLlLcNFSk6ACLlw== X-Received: by 2002:ac2:5991:0:b0:4f3:aa1e:8fd with SMTP id w17-20020ac25991000000b004f3aa1e08fdmr3342122lfn.68.1684758186734; Mon, 22 May 2023 05:23:06 -0700 (PDT) Received: from rayden.urgonet (h-46-59-78-111.A175.priv.bahnhof.se. [46.59.78.111]) by smtp.gmail.com with ESMTPSA id y9-20020ac24469000000b004efe8174586sm974633lfl.126.2023.05.22.05.23.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 May 2023 05:23:06 -0700 (PDT) From: Jens Wiklander <jens.wiklander@linaro.org> To: u-boot@lists.denx.de, linux-btrfs@vger.kernel.org Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>, Arnd Bergmann <arnd@arndb.de>, Huan Wang <alison.wang@nxp.com>, Angelo Dureghello <angelo@kernel-space.org>, Daniel Schwierzeck <daniel.schwierzeck@gmail.com>, Wolfgang Denk <wd@denx.de>, Marek Vasut <marex@denx.de>, Nobuhiro Iwamatsu <iwamatsu@nigauri.org>, Marek Behun <kabel@kernel.org>, Qu Wenruo <wqu@suse.com>, Tom Rini <trini@konsulko.com>, Jens Wiklander <jens.wiklander@linaro.org> Subject: [PATCH 6/8] fs/btrfs: use asm/unaligned.h Date: Mon, 22 May 2023 14:22:36 +0200 Message-Id: <20230522122238.4191762-7-jens.wiklander@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230522122238.4191762-1-jens.wiklander@linaro.org> References: <20230522122238.4191762-1-jens.wiklander@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
Cleanup unaligned access macros
|
expand
|
diff --git a/fs/btrfs/crypto/hash.c b/fs/btrfs/crypto/hash.c index 891a2974be05..0a0b35fe9b96 100644 --- a/fs/btrfs/crypto/hash.c +++ b/fs/btrfs/crypto/hash.c @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0+ +#include <asm/unaligned.h> #include <linux/xxhash.h> -#include <linux/unaligned/access_ok.h> #include <linux/types.h> #include <u-boot/sha256.h> #include <u-boot/blake2.h>
Use asm/unaligned.h instead of linux/unaligned/access_ok.h for unaligned access. This is needed on architectures that doesn't handle unaligned accesses directly. Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> --- fs/btrfs/crypto/hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)