From patchwork Wed Oct 14 19:15:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 7397701 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-linux-crypto@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B50A59F36A for ; Wed, 14 Oct 2015 19:15:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E29F520883 for ; Wed, 14 Oct 2015 19:15:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0250520879 for ; Wed, 14 Oct 2015 19:15:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754424AbbJNTPV (ORCPT ); Wed, 14 Oct 2015 15:15:21 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:36827 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754376AbbJNTPS (ORCPT ); Wed, 14 Oct 2015 15:15:18 -0400 Received: by wicgb1 with SMTP id gb1so243622579wic.1; Wed, 14 Oct 2015 12:15:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=/ApNbEYXv0huc/E1grHxMcqPjVxHD8/cCgF8yfrl7x0=; b=B8X7gvujjIW7qLYLkFYpocSFt/52vSJF7yDNKXGiXY0NQ/2QzJYmE8nFfW4EQpDYvv hmTF1+IJtFrmI418wiXsoHgYZltCTtBcbiMDywi+2f16Kmg90sUsWSplRVXB+W7BCFlB jTz/6VrCPbgdAoGt+6YBS1OqNAcnMtbEJwvpSMNBYsydE1cgykCZXdFVeNSt7qjwSMbq miQxFEuXEbv6JmdlksdjrIiNNUxhNQc6LWKz9sjl2XguKAl1BhvgCUtWZzrkDEUpbffT BgURftUJxb/iRVBXTeZDaOBCbRW/DjqoDpWyHORx6kRCf1LrA2uYg4brDaoh4PY0jsOD D4Zg== X-Received: by 10.180.39.193 with SMTP id r1mr28484241wik.57.1444850116720; Wed, 14 Oct 2015 12:15:16 -0700 (PDT) Received: from Red.local (ANice-651-1-429-185.w83-201.abo.wanadoo.fr. [83.201.253.185]) by smtp.googlemail.com with ESMTPSA id gc14sm8298995wic.12.2015.10.14.12.15.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Oct 2015 12:15:16 -0700 (PDT) From: LABBE Corentin To: davem@davemloft.net, herbert@gondor.apana.org.au Cc: LABBE Corentin , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] crypto: n2: set array of const as const Date: Wed, 14 Oct 2015 21:15:13 +0200 Message-Id: <1444850114-17194-1-git-send-email-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.4.9 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Some array of const char are not set as const. This patch fix that. Signed-off-by: LABBE Corentin --- drivers/crypto/n2_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/n2_core.c b/drivers/crypto/n2_core.c index 8ea6c32..febbd5e 100644 --- a/drivers/crypto/n2_core.c +++ b/drivers/crypto/n2_core.c @@ -34,7 +34,7 @@ #define DRV_MODULE_VERSION "0.2" #define DRV_MODULE_RELDATE "July 28, 2011" -static char version[] = +static const char version[] = DRV_MODULE_NAME ".c:v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; MODULE_AUTHOR("David S. Miller (davem@davemloft.net)");