Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp3164824rwo; Thu, 3 Aug 2023 23:48:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG3JA6RUiJ76R0v+SEw50YiEqOux2XcTPsnerVGnpMdqJSUCMcjEcQjRTOnKBy0xd3+Q1CY X-Received: by 2002:a17:906:3049:b0:98e:419b:4cc6 with SMTP id d9-20020a170906304900b0098e419b4cc6mr732396ejd.70.1691131692626; Thu, 03 Aug 2023 23:48:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691131692; cv=none; d=google.com; s=arc-20160816; b=B83x+mWdjmM9OULbYRe6vpUY8OProIp9X3OPLaJ/b7ViuAtybUZqKiHGv5kUWbYYR/ F7i5lAc6O8qK0IA0eq+vUz0lXwLVDVQstvzmogtwlDOEA7blOLMatq1z5Xc4kaFYubsv Ke5fI7sFk5WXnSZSo2MS5xcKipVufRWCYpTZNFIXucUUTCujlLAp/Sub0hdp6uFDH0HV yzNL+TdWEbnTx8zwoeDWb5eQEWL1bXXXha12eO26h3vZq7/0umvjBTKmNhCxScTPrr3k TMcxh+PA2qSUilcyCzilFKfjyEA935apHhbgzxFZfy+EIMWzTUU6ERVb2T8fLoIlucPK k1tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=ox2ZvZFOP+WEF2iRr/qTU6tYDOjYhnzbQi8D/rCPjU4=; fh=YWC85eR+I1wtZ5eC8fFZvDFvhKaN9ubhk/gcyww0nxY=; b=tNE/hsH729Qis8X2VgellXcL8Avyjg0qjkHJzjYSyekC/vsk8xZ5p5rc89L/KIrfqI A+ZsVb/Wzj3Etj7UeslLxxjZHU3Z4IiNk0f3adZjYuRXX2AhQSHoJ+By3WS2F0ZrB2Mv N7PN8pfo1bkDjnd5TaZLlOxb0q1R168BZfspe9Qm9dTTmfOGGbfua/WtVzB0323QYhFc C00umeML7hBYEcagWAzPxfhN9x1lVSPJlMcYWVDWkymBbi1OypjOriOitNzKy2igXGax EecFAMzEp2Rf7fwDf6tXk+bTn6vYPViJJwCReRikb5eD3h78mUAnWq3eSr2J91BivMB/ H39g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kj6-20020a170907764600b00992f45c9342si695353ejc.1020.2023.08.03.23.47.48; Thu, 03 Aug 2023 23:48:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232904AbjHDGV7 (ORCPT + 99 others); Fri, 4 Aug 2023 02:21:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232705AbjHDGVu (ORCPT ); Fri, 4 Aug 2023 02:21:50 -0400 Received: from out28-172.mail.aliyun.com (out28-172.mail.aliyun.com [115.124.28.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A05604204; Thu, 3 Aug 2023 23:21:40 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1060332|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_alarm|0.0657725-0.000712165-0.933515;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047206;MF=wuyonggang001@208suo.com;NM=1;PH=DS;RN=5;RT=5;SR=0;TI=SMTPD_---.U8E4.FK_1691130091; Received: from localhost.localdomain(mailfrom:wuyonggang001@208suo.com fp:SMTPD_---.U8E4.FK_1691130091) by smtp.aliyun-inc.com; Fri, 04 Aug 2023 14:21:34 +0800 From: Yonggang Wu To: herbert@gondor.apana.org.au, davem@davemloft.net Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Yonggang Wu Subject: [PATCH] lib: crypto: Modify format error Date: Fri, 4 Aug 2023 14:21:07 +0800 Message-Id: <20230804062107.25913-1-wuyonggang001@208suo.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the error(s): space prohibited after that open square bracket '[' Signed-off-by: Yonggang Wu --- lib/crypto/gf128mul.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/crypto/gf128mul.c b/lib/crypto/gf128mul.c index 8f8c45e0cdcf..96ef5f312911 100644 --- a/lib/crypto/gf128mul.c +++ b/lib/crypto/gf128mul.c @@ -208,11 +208,11 @@ void gf128mul_lle(be128 *r, const be128 *b) for (i = 0;;) { u8 ch = ((u8 *)b)[15 - i]; - be128_xor(r, r, &p[ 0 + !(ch & 0x80)]); - be128_xor(r, r, &p[ 2 + !(ch & 0x40)]); - be128_xor(r, r, &p[ 4 + !(ch & 0x20)]); - be128_xor(r, r, &p[ 6 + !(ch & 0x10)]); - be128_xor(r, r, &p[ 8 + !(ch & 0x08)]); + be128_xor(r, r, &p[0 + !(ch & 0x80)]); + be128_xor(r, r, &p[2 + !(ch & 0x40)]); + be128_xor(r, r, &p[4 + !(ch & 0x20)]); + be128_xor(r, r, &p[6 + !(ch & 0x10)]); + be128_xor(r, r, &p[8 + !(ch & 0x08)]); be128_xor(r, r, &p[10 + !(ch & 0x04)]); be128_xor(r, r, &p[12 + !(ch & 0x02)]); be128_xor(r, r, &p[14 + !(ch & 0x01)]); -- 2.40.1