Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1085123pxx; Fri, 30 Oct 2020 01:19:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhojBPl3MwdHaqEN3aTx5h9vwc0NsfDgLrgsTtv5sktXi/i4xIBehAYHadrrNbpynMu4dl X-Received: by 2002:a05:6402:143a:: with SMTP id c26mr1100068edx.150.1604045948476; Fri, 30 Oct 2020 01:19:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604045948; cv=none; d=google.com; s=arc-20160816; b=JcjfswsllNNy8HdJJUC7/mwLlyjNoY9gV+N5YX31UAKJpb8SP8wRkBmHDBjdFghe+x 0YT4Qly8ALkSFMlbPjGZheCUeNSaBTQw8qAjOgnyRYzMIVMlCmQ507r0SZYzSglnWhFH N4tRCB7IbY8s0ZIn5+2vMtHMOuaJHsAqxj45I1JFSWoJ5xJ28YlxPRiYb4kW/D/qWvQZ lg1xmTqHKoJGlVdPe6nmcFbm7zippO49m7Zh29h0n8dZRu/BRmspbXl1wOesRgR/yj+u POWmOpNufk+1t4KNfP1fGC8/7hltz0thoPwfDwWnQZYW+PE+oR6ZCvY9yxhC8rrO4xKi bkyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:to:from; bh=r9bSvImUdwiJ+eIT8UwrVmuYfThgxucbdvsfuGysRjU=; b=FnVWeob6/qa4zVQXVV9aM0bbLFyF65FUc5X+SQRFU0OvmKuTkdLehVHPojNwd9DXZx QYWmEv9FnYi9ziKKCoPzZpj9JZXnzP3WVlt7GjoRyG8mEixpWFjV6f98l6aBffes4eeg 09ZF/9rwmaTe484RINZvH+54P+PjiHAT+h1z13qeLphVXi6gf5P8jXqmyo0hPZHY0aUF S0lFDY09jeEGz8mcC47WGY3jcEe3EEwsCYxnKFrLWEWLk2slmVulX+C7KJkzpmmrnCRp XrIogKYxiwATTND8ORRVkl89E1LLeBIJequpSyVhXgEpUPy4teR54v7Z2UulCC5Bw/tQ /AQA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o13si3667638eds.410.2020.10.30.01.18.44; Fri, 30 Oct 2020 01:19:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725355AbgJ3ISc (ORCPT + 99 others); Fri, 30 Oct 2020 04:18:32 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:6671 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725784AbgJ3ISc (ORCPT ); Fri, 30 Oct 2020 04:18:32 -0400 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4CMwDg1xlHz15PTM; Fri, 30 Oct 2020 16:18:27 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.487.0; Fri, 30 Oct 2020 16:18:23 +0800 From: Tian Tao To: , , , , , , Subject: [PATCH] crypto: arm64 - move const after static Date: Fri, 30 Oct 2020 16:19:00 +0800 Message-ID: <1604045940-33684-1-git-send-email-tiantao6@hisilicon.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Fixed the WARNING: Move const after static - use 'static const u8' Signed-off-by: Tian Tao --- arch/arm64/crypto/aes-ce-glue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/crypto/aes-ce-glue.c b/arch/arm64/crypto/aes-ce-glue.c index 56a5f6f..8ba6f04 100644 --- a/arch/arm64/crypto/aes-ce-glue.c +++ b/arch/arm64/crypto/aes-ce-glue.c @@ -77,7 +77,7 @@ int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, /* * The AES key schedule round constants */ - static u8 const rcon[] = { + static const u8 rcon[] = { 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36, }; -- 2.7.4