From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f52.google.com (mail-qv1-f52.google.com [209.85.219.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6A8333370EC for ; Sun, 1 Mar 2026 15:28:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772378905; cv=none; b=eZUpCik1UqNJO72m6NAvaHXLTq/2cYgDTVu5zLB+rIcLYRy85ZyUKPfk4bgfYY/zxKjYY207d1cuNgkzZ/YNLGeWRxxxkFVkLr/wpxFH3FZC9Z1evopzvSHxjao7fw5QHXFgpTiemXlYKr0TtMoB/i/9Cui8WXijSUAUrYwqG7k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772378905; c=relaxed/simple; bh=TQfrKfd9mAeN59/a32q7gkKaeWvEQkid4lxew50YD9M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hX4i4X1W/hiWJAgyRpyYe3KOoJIdW0lZqCoLZDt0MkIRguks2YcHp6NdtBqCvsvtdX0qylancNnseYVGzUu6T9lG3q4T7nHO1smH1kTYmxEoN28WhgtOxFLmfenqviWRvYBCoLzZfb2hdEF+m+gMJRVI8Ecnv0BMd4MjOaRkHGc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=RMzLUlAA; arc=none smtp.client-ip=209.85.219.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="RMzLUlAA" Received: by mail-qv1-f52.google.com with SMTP id 6a1803df08f44-896ff127650so61356286d6.3 for ; Sun, 01 Mar 2026 07:28:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772378903; x=1772983703; darn=vger.kernel.org; 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=La09DCP0jA/AbFytPwXt0j25r8TkQJK+X1DFAQGkXJk=; b=RMzLUlAAIfAst/uPmaCFcu3gLgw8LLQ8O5SPjkb01lEsQOwjCc+gYPdCwME2xXcLTJ qfQ0bVCoO0qRHiLuwhSOnYEiNvHFiun2lv52mN74W9gw+efjEEhIGfnye7gwxQd3MkB8 RhQ9OoRnRKboIRWPMTS07Onb0lJEHAfQJX+qnbtk/sbYGJTnsft1joOHPSnH9pbmK6F2 Q2z9063d9kBd5wMxy/rxnSrQee3RdtPZNQrOcWCFGhaQX7kMUPwDO3LRO8Wtn0J6Z/O0 cFD/Mg3QyFBrcVhiBBLDWOSaiBrANhc8GAiBhlJT4OJyqT7AknX+XEuhh/Aph7pqmM9Z WbqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772378903; x=1772983703; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=La09DCP0jA/AbFytPwXt0j25r8TkQJK+X1DFAQGkXJk=; b=fTde0hqd6qLseeOn8+yOn8K3G0cmTRTcbKepCykVM+OlV7Jf95b9gUQOmpVOOzDq3l 1M1qaMyZt5cYCARlORFUw5eFtALnw2ft2rdn8h3AHVvkcWNnSV0zoGskMTy8VJDI+wvI oCnoQuyRT9GCsGWELhncBpTrEEFDEV29h+TURB6iMT5mvemTfefu+3Doho5Ity1rvxsW k4L/uka/xV+AidZcRGwOXAepPENr0FEKv4UeSvCJ/U2J/9A6NXhaH/N1DDS+4MZ/sTlJ pV7gGgONultvpZIAADRaguFrrG+OSu9DHvXf89i9IzRyT5kaouqcJusbGlwaJTUEyJR2 O1OQ== X-Forwarded-Encrypted: i=1; AJvYcCUtn7DV0BqsVqRjFlSed82RSjuET0SqY5Zf08OmJMhDQ3tR7ahKmCo0K44+11JjHSh3LCPRiV3L1ZmErHg=@vger.kernel.org X-Gm-Message-State: AOJu0YxmtbRSxKKyejcnn80IPJaczXxs9p+cJGH6KMvDk0TUMWvMAW9n W1CjJ2iyWdlPQ+kpqpeNSwBZCV+LSrMLO4obYEQjmU3JfuJJVUIimpo7 X-Gm-Gg: ATEYQzwTxQ6iFHfRiQlkDXG+QFDf94Mh6phSlxkxmw9Gol+ocgQ4pJLlrI7hfjQ1+o2 Qr185EbgH8sHDChwG/RnyA28RPmwYP/6xTg1NfGy28Ywc3ty2s07AEP3CaBYYu5rD0xMFQ7XMO3 c2ztYgC9gZxAzZbhzGW66aBb/FRSPiLsx/b1eNoJOrfAMHAjNyNTQRQybU4dXR+l3RH/nfJIfJh 2Ti//33j9IVr2qRsPuiR3MxR/8d0CAh0/BFFX5gTRcrPjFtf/qYUtm3o8/GXB81myF6r6WZyWB8 WA3tKiQX6PK+W5xXaWUywqy/wjE1CuLrG2Mf9k4wSoTZURFDeFAa0ttEVgfMLq8W1Ea87Jt974b OOvFRuRTD1P4maLcimhxui5Oy5567c9pVk/shV2RXWiG2q47MJz4S7UShw08NgPuKtZt4JsL3TR 7YKQTjwCtlv9bzr6T9FvN0iLZHnOBgWM14CGcqcPk44uI1H/l92d4q4f8tFvkinCoKkLHijdwKg Wvs X-Received: by 2002:a05:6214:d8f:b0:899:a91a:2e0c with SMTP id 6a1803df08f44-899d1e45937mr145098116d6.46.1772378903232; Sun, 01 Mar 2026 07:28:23 -0800 (PST) Received: from instance-20260207-1316.vcn12250046.oraclevcn.com ([150.136.248.187]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-899e53a16c0sm32849486d6.35.2026.03.01.07.28.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Mar 2026 07:28:22 -0800 (PST) From: Josh Law X-Google-Original-From: Josh Law To: Catalin Marinas , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Josh Law Subject: [PATCH 2/2] arm64: lib: xor-neon: fix pointer spacing for __restrict Date: Sun, 1 Mar 2026 15:28:20 +0000 Message-ID: <20260301152820.2589291-2-objecting@objecting.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260301152820.2589291-1-objecting@objecting.org> References: <20260301152820.2589291-1-objecting@objecting.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Fix coding style error where 'foo * bar' should be 'foo *bar' for the __restrict qualifier. Signed-off-by: Josh Law --- arch/arm64/lib/xor-neon.c | 52 +++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/arch/arm64/lib/xor-neon.c b/arch/arm64/lib/xor-neon.c index c65b44a8f134..cdf6ae923e1b 100644 --- a/arch/arm64/lib/xor-neon.c +++ b/arch/arm64/lib/xor-neon.c @@ -9,8 +9,8 @@ #include #include -static void xor_arm64_neon_2(unsigned long bytes, unsigned long * __restrict p1, - const unsigned long * __restrict p2) +static void xor_arm64_neon_2(unsigned long bytes, unsigned long *__restrict p1, + const unsigned long *__restrict p2) { uint64_t *dp1 = (uint64_t *)p1; uint64_t *dp2 = (uint64_t *)p2; @@ -36,9 +36,9 @@ static void xor_arm64_neon_2(unsigned long bytes, unsigned long * __restrict p1, } while (--lines > 0); } -static void xor_arm64_neon_3(unsigned long bytes, unsigned long * __restrict p1, - const unsigned long * __restrict p2, - const unsigned long * __restrict p3) +static void xor_arm64_neon_3(unsigned long bytes, unsigned long *__restrict p1, + const unsigned long *__restrict p2, + const unsigned long *__restrict p3) { uint64_t *dp1 = (uint64_t *)p1; uint64_t *dp2 = (uint64_t *)p2; @@ -72,10 +72,10 @@ static void xor_arm64_neon_3(unsigned long bytes, unsigned long * __restrict p1, } while (--lines > 0); } -static void xor_arm64_neon_4(unsigned long bytes, unsigned long * __restrict p1, - const unsigned long * __restrict p2, - const unsigned long * __restrict p3, - const unsigned long * __restrict p4) +static void xor_arm64_neon_4(unsigned long bytes, unsigned long *__restrict p1, + const unsigned long *__restrict p2, + const unsigned long *__restrict p3, + const unsigned long *__restrict p4) { uint64_t *dp1 = (uint64_t *)p1; uint64_t *dp2 = (uint64_t *)p2; @@ -117,11 +117,11 @@ static void xor_arm64_neon_4(unsigned long bytes, unsigned long * __restrict p1, } while (--lines > 0); } -static void xor_arm64_neon_5(unsigned long bytes, unsigned long * __restrict p1, - const unsigned long * __restrict p2, - const unsigned long * __restrict p3, - const unsigned long * __restrict p4, - const unsigned long * __restrict p5) +static void xor_arm64_neon_5(unsigned long bytes, unsigned long *__restrict p1, + const unsigned long *__restrict p2, + const unsigned long *__restrict p3, + const unsigned long *__restrict p4, + const unsigned long *__restrict p5) { uint64_t *dp1 = (uint64_t *)p1; uint64_t *dp2 = (uint64_t *)p2; @@ -191,9 +191,9 @@ static inline uint64x2_t eor3(uint64x2_t p, uint64x2_t q, uint64x2_t r) } static void xor_arm64_eor3_3(unsigned long bytes, - unsigned long * __restrict p1, - const unsigned long * __restrict p2, - const unsigned long * __restrict p3) + unsigned long *__restrict p1, + const unsigned long *__restrict p2, + const unsigned long *__restrict p3) { uint64_t *dp1 = (uint64_t *)p1; uint64_t *dp2 = (uint64_t *)p2; @@ -226,10 +226,10 @@ static void xor_arm64_eor3_3(unsigned long bytes, } static void xor_arm64_eor3_4(unsigned long bytes, - unsigned long * __restrict p1, - const unsigned long * __restrict p2, - const unsigned long * __restrict p3, - const unsigned long * __restrict p4) + unsigned long *__restrict p1, + const unsigned long *__restrict p2, + const unsigned long *__restrict p3, + const unsigned long *__restrict p4) { uint64_t *dp1 = (uint64_t *)p1; uint64_t *dp2 = (uint64_t *)p2; @@ -270,11 +270,11 @@ static void xor_arm64_eor3_4(unsigned long bytes, } static void xor_arm64_eor3_5(unsigned long bytes, - unsigned long * __restrict p1, - const unsigned long * __restrict p2, - const unsigned long * __restrict p3, - const unsigned long * __restrict p4, - const unsigned long * __restrict p5) + unsigned long *__restrict p1, + const unsigned long *__restrict p2, + const unsigned long *__restrict p3, + const unsigned long *__restrict p4, + const unsigned long *__restrict p5) { uint64_t *dp1 = (uint64_t *)p1; uint64_t *dp2 = (uint64_t *)p2; -- 2.43.0