Message ID | 1510584358-29473-12-git-send-email-gilad@benyossef.com |
---|---|
State | Accepted |
Commit | 7d2e4fc239fd1f86b97fb7a1e4e8ac7cd29fc311 |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp1879897qgn; Mon, 13 Nov 2017 06:47:28 -0800 (PST) X-Google-Smtp-Source: AGs4zMaxesDzHtKxvKR+wp8geKoKbnEYn1VcLHdGEbHwCdboqQ7tMEHO/qjVM+KFTNE3Qd1Mt1lw X-Received: by 10.84.130.66 with SMTP id 60mr9525528plc.376.1510584448262; Mon, 13 Nov 2017 06:47:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510584448; cv=none; d=google.com; s=arc-20160816; b=EH9YCWqdxYXndeYTKkBCJqOrH7lmY4agGk1EO4wzDFnN/B0mMo+xVAUFv0A/qFl/to 1Gek3tNWaxX4dl/4D7WU7zyADoxsMRnBeKt6XpdSDiljxGtIshnJpmGRdZU3mhZEyscL p+C8CD5CmjBIVTRjUGYFrnrqfUzSW8/EtCDa/mWoq/PaSwguxuW82Mpf6XrVHOwNRyLA D1ESs3UM7fdJauibZUOtkVbdIuA+NwJP5DhmrIFSlxwysUNdLHFRgmxqLFwpXb/mmbA8 lju69c/yn7xzZl6Tz7VtKt8wNfETsEZWYKcrWpaKhK6FKibVobqkoF1u4N8btuHJJ+ss GSOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=OYrPzS7AQIOXuYJ0aMDeTrqgkHuzaDM1RXIJ3r4qLTU=; b=Dwgey/dAkqK3KUC2LvX11otp8dPEBnAlxDRmkQUftT6dHjgd7hQV5fVl9bmdw5pYx9 SZgtBBPPkjzNkfBV09p9rlDVw4jYoj/Tl/8I3PJwflWmK6z2KpXJgTOhv7vMb445fU8a yDNbtE9c5Rhx2W+EC22I2zqNlL0to5IOv1Sqv9T/qFfI3acgrNsMDdHWK16KP3wNMLd4 5d5KHKDjN/YSFvp4CLnWzjkq4/SlO7Ig9eLGDNv0Yt3Y2K2r5JqomjctC8sE9KvUGOWQ uXe0dGnE9fPPsygsV2ZfAsSzIHQcYaU+iNXyjMI9D0XV5ktNTp4fNj06GHHNhBDCCcy+ iGMg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m25si14134193pgv.560.2017.11.13.06.47.28; Mon, 13 Nov 2017 06:47:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753341AbdKMOr0 (ORCPT <rfc822; tom.gall@linaro.org> + 27 others); Mon, 13 Nov 2017 09:47:26 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:47360 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752260AbdKMOrX (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 13 Nov 2017 09:47:23 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 201C11435; Mon, 13 Nov 2017 06:47:23 -0800 (PST) Received: from sugar.kfn.arm.com (unknown [10.45.48.133]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7FC003F318; Mon, 13 Nov 2017 06:47:21 -0800 (PST) From: Gilad Ben-Yossef <gilad@benyossef.com> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Ofir Drang <ofir.drang@arm.com>, linux-crypto@vger.kernel.org, driverdev-devel@linuxdriverproject.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 11/24] staging: ccree: constify help string Date: Mon, 13 Nov 2017 14:45:39 +0000 Message-Id: <1510584358-29473-12-git-send-email-gilad@benyossef.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1510584358-29473-1-git-send-email-gilad@benyossef.com> References: <1510584358-29473-1-git-send-email-gilad@benyossef.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
[01/24] staging: ccree: fix typos
|
expand
|
diff --git a/drivers/staging/ccree/ssi_sysfs.c b/drivers/staging/ccree/ssi_sysfs.c index 5d39f15..8d50382 100644 --- a/drivers/staging/ccree/ssi_sysfs.c +++ b/drivers/staging/ccree/ssi_sysfs.c @@ -47,7 +47,7 @@ static ssize_t ssi_sys_regdump_show(struct kobject *kobj, static ssize_t ssi_sys_help_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) { - char *help_str[] = { + static const char * const help_str[] = { "cat reg_dump ", "Print several of CC register values", }; int i = 0, offset = 0;
Make help string static const Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> --- drivers/staging/ccree/ssi_sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4