Received: by 10.223.148.5 with SMTP id 5csp7703313wrq; Thu, 18 Jan 2018 08:32:20 -0800 (PST) X-Google-Smtp-Source: ACJfBot2WFGOrQk0EeYkEzbdoQ4M24pJ7ShC4GdLUhdseKdW0lhAZ09MSZ9G3V99lFuKdDHof52A X-Received: by 10.101.93.142 with SMTP id f14mr1097143pgt.82.1516293140621; Thu, 18 Jan 2018 08:32:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516293140; cv=none; d=google.com; s=arc-20160816; b=iSmxiMTiI+0DnFFfB7BA58IjhXjMhaMB09ta49E/fZ4y7d7Z2bQC1bpQ0hgGQIEUKO e6aYETBMBzoogMTvovdVGoUZmPLiGMhvRKcxMmg/rJLJ2qsAxzsdj7TLsH+JN+cOIOMa Ul/GfVPbgJw1+y5BOw4eWVYK6UYkXzIexLCgjxcqge2MyGpA6MqK0pg0DpfYiLRQMKB2 9CKzg7KE9GTUlBBx52037zjZfQOBlCTjOfOWZezXF2MCF+meUVxO6KObsYWRwQWeuakZ 8zbhT+xukX5+Md5wrhYFQL9cQKtLpmxPFL26wOk/tSymrsG8+Pi/G9XtXtO5NCkbkK6p 1B+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject:arc-authentication-results; bh=HI6yLIZdrN5xa7eYnfxXbQwIqoK/zoS2PZXQT7FE+mM=; b=Kco9S2q4j4FwaJ68M34Rg0BkuGQ/1OvVRxrIPfqH2kd+VkcK/VZkDFhahpPOkVAq2L nrHEvxyu485csbHwpg+v9e3Ka/oYH++7i8AJpDkyNe7FEJ+YOmz26K0KqvvCifK6BojJ D0zLjinqCFQbXpPLWVDjL/qqugwW3WzYwmvfOLn1geBUA8k27uC7w/YHrK6qj176LpxF fl8drto8oSL+rHt8CWTEejqfvbLlDepwrlk+0LnLJ1wBsNV/tgZYjDzn+9+ntNEAS8JL S/tFpSbcNjW1l8VS9UJ6A6CQggu/MZrPyWKCj+QgESd5lBfww5DOX5V2rFJ7464rRZiX VcPg== 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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e4si7205918pfb.84.2018.01.18.08.32.07; Thu, 18 Jan 2018 08:32:20 -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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932762AbeARQ17 (ORCPT + 99 others); Thu, 18 Jan 2018 11:27:59 -0500 Received: from mout.web.de ([212.227.17.11]:59751 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932228AbeARQ15 (ORCPT ); Thu, 18 Jan 2018 11:27:57 -0500 Received: from [192.168.1.3] ([92.228.88.14]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0LmcjH-1fC5kx2Gkl-00aDI3; Thu, 18 Jan 2018 17:27:44 +0100 Subject: [PATCH 5/5] irqchip/irq-gic-v3-its: Mark an array of text strings as "const" From: SF Markus Elfring To: kernel-janitors@vger.kernel.org, Jason Cooper , Marc Zyngier , Thomas Gleixner Cc: LKML References: Message-ID: <3b51857b-f168-1fa2-1a05-c187ca51a59f@users.sourceforge.net> Date: Thu, 18 Jan 2018 17:27:43 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:4ILOXS+IVjo4/J9Yvmg7Lp1lHolGZ+zkm9+WvI5WJ0BkQsuctfm PALuvkG4ilEyseW/qJuqp8vJLY5JdWo14cByNXCH9zVdXm2Yz7i42RZgwpB0C6zoS0K++AF YrBKHt2ulp8YsIUm0OPAgd9FZa8Gdu3IIz95Jn6wBuqdBh2zvbCK0qdSjLVyS4W7daZsmNB yt8hr2uW5hzt+ZWAvyWOQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:G/fLa3W7Hz8=:xE4wI4EagicK+EmDH1p8tZ 2CCINGoTMAsLFI7UO2FmZUCdR+OR+rVNKbLGEutuhS9DPpf78P0hp114vuUz1G0vgrusSjrik 2jeGLOxHyj2EazB5dg3qgGpd74oOG8h0zwilkzNZBvVcQfZLAwZJJfvbOPsO22BCZlKLg3Oqc gtHeBV1KmPhV+Nm8le5bKyfGBjz14T1XVX7A7u3gJ8uiDHmL9/NwC1r6k04fM4i9ZxsgdnW25 6FnBnmBdakm0SxkBDxk+IfNOHY4AsNMs5N3l4bG1GF7DezmPd+Gg4M/P5EVJ9iUC8EZ54VX46 5UX9i+TkdRZKvHPzizUN8j997Npc7P4jUbbPv0DtKzPSIJ30ybsgQCIwcQBUqeG7avMiYcli4 Cn5ZUAwu1CQs4IHE1nLJApV62oUweQ6dEucjceQfkKI9uKlt2x+kXOE4x/kuN2qc0XTkkr6ZE pdCL2xe4ZwtmEr+RyqT1rAqA7gt397rUvvRz/P7m9n6DQ6S0Vh/mVgVjX+gXgtVL/ba3oMA4n vb3AW6mpmo8efmHquuP9IgzU1mZTCD8v+62fMI9f+8bwD0KxLIzCP5EfHp4L13eid5+KnyQV2 JRzxmpQrksbM5TSL3EK4vjRyBrPCIAatvLTiLv/5+eUiW9966bOcI0FmLjupKBC0obpkG4wAn sAOUfFlLpXgJon2gAqrTIyA3o4qf6YudKgRlVQ5Zrca87kDAUcEW9B60jsbPSRoQlN/W3xnp8 RYwUVg01rmLXQkqJHgQ6GXd7Q+fKM8fm/1wOuK6SkYJSJB1LPbm4PIVGt15I0ZH/xD1KDY8qg uJ7S862Bb9nT4VvQ0K910Zco8d6OPxzRwQWMQGjBzCSIV5mnIs= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Elfring Date: Thu, 18 Jan 2018 17:05:34 +0100 The script "checkpatch.pl" pointed information out like the following. WARNING: static const char * array should probably be static const char * const Thus fix the affected source code place. Signed-off-by: Markus Elfring --- drivers/irqchip/irq-gic-v3-its.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c index 100c3125f20e..09f0297a1f59 100644 --- a/drivers/irqchip/irq-gic-v3-its.c +++ b/drivers/irqchip/irq-gic-v3-its.c @@ -1551,7 +1551,7 @@ static int __init its_alloc_lpi_tables(void) return its_lpi_init(lpi_id_bits); } -static const char *its_base_type_string[] = { +static const char * const its_base_type_string[] = { [GITS_BASER_TYPE_DEVICE] = "Devices", [GITS_BASER_TYPE_VCPU] = "Virtual CPUs", [GITS_BASER_TYPE_RESERVED3] = "Reserved (3)", -- 2.15.1