Received: by 10.223.148.5 with SMTP id 5csp7705103wrq; Thu, 18 Jan 2018 08:33:25 -0800 (PST) X-Google-Smtp-Source: ACJfBotcUyKPFaQYeY2FM7vzMNOSvHI2AQ8R2vNnh4dMbFGmBzclvvvubdYxEul6HzsMiUK8lXXb X-Received: by 10.101.101.144 with SMTP id u16mr17696973pgv.73.1516293205126; Thu, 18 Jan 2018 08:33:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516293205; cv=none; d=google.com; s=arc-20160816; b=mtJ5B4ERc6tD5TNhP0ga85snwkT1Z3QoypxxYh1nH7qj+mZIQLfVdz06U5dEQg80Eu /SDLKPgz3utKhWhkppll5/9IyT9vDJjWeSeW9ojV1BiNlZMQFfP/4SApe8cgGaECfwwY gzs6Rg2++YLP6cZxIrzT3ildo3bL/et47IdGWlZ/YsadDaTUPS6VukUfGW/Ti/7fbTgV Add4gmQ9vY5zWHe7X3/QAvPP2CORZkHS3S5gc6DRV1Y1NSBCW/g6cPLI9sHUcNVrCGgA kPTQJ4CUW/JKOwzHVw7GijrEQ3nJ4r71/KngRgG1MTGdhDEqJUmpa/hM8m8Bh+FtJJQG FFVQ== 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=D8lN9+drY9q9/HgObpd4Ta4SHnodn3gf0p67yXZKLCI=; b=o8TeuhIsmMtX8UxQWrtpiZFRmgZiZAP5sSEokMJKBVITlLmd48NgF5V0Dh7RJeezwr BmfRNtostzFXL8qe9APNKUq3Rxjk0MmR6baFg3KM52G/YGB9djhkMSaY9hdLsSaPCkep 2iKGv1XwJwypKS6MZzSISXHTnSj5ZV/bbIZZhheHFNXhwQTJJgb67qr0ZCM6O/4yWG5u 259jCSqWGaEyR56/PSSPYGc/HIclL3/I+yCn/EebGc+HPxEtXO0eY9U1/irj58VvzJzn vhkbldr2o8mWNB00ZD+mmbo6kn+a/h2NSpL8duRJSBqqOZFoKsQRxHM2rctK1LQdr6SJ OlTg== 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 t22-v6si13467plo.256.2018.01.18.08.33.11; Thu, 18 Jan 2018 08:33:25 -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 S933491AbeARQZw (ORCPT + 99 others); Thu, 18 Jan 2018 11:25:52 -0500 Received: from mout.web.de ([212.227.17.11]:50969 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750947AbeARQZv (ORCPT ); Thu, 18 Jan 2018 11:25:51 -0500 Received: from [192.168.1.3] ([92.228.88.14]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MRlED-1eEFBP2QKv-00SzFC; Thu, 18 Jan 2018 17:25:42 +0100 Subject: [PATCH 3/5] irqchip/irq-gic-v2m: Mark a of_device_id variable as "const" From: SF Markus Elfring To: kernel-janitors@vger.kernel.org, Jason Cooper , Marc Zyngier , Thomas Gleixner Cc: LKML References: Message-ID: Date: Thu, 18 Jan 2018 17:25:41 +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:BrqqkX6zBX7F9iDFraR236gOhgLPQSmJt2kRjLpv+tFzVga7VgI rj44bG+8Bfq5jzkDG7mbxVWCtoKCrl+UwOHOFhzmMQJvs3HqIoTcZ1DYJ4QaS5IvvZkpzCC FkknL+a73r9Ot13H3rVc9mb+SKc587v+pvfnXNG50id/adGRw6ubDi5876/w5ccDYS62GmN JXwOgvTX0z8+sgAT0RGHg== X-UI-Out-Filterresults: notjunk:1;V01:K0:WU8IC4x9PXI=:e+Jhf1fbR46QpQqw6Q5GK1 RtyX8KhscnOLHwtQbhm1q7vKSWDzjCOPShXsrHIbbxXO3jK8TsL8OQV7v/dh0sNL86Vbepz9T WCE7kK+0fesG13fo3qUrS6vxqr8se2kF+UuRApzHeYEhjtMWp/2/x5tswRX6ucfPmlb+0Gp77 +KAlsEbzJpbKIcNMEEVWmxLuLi1e795qKHPsgz0eYQJBRP2VkbHcFT6nGAWowU2n4xTk62Uji G47cC+Hx3ZdJHBfkp/4e0vB6ZEbF4wm2xh8kC1BMD196xOo7HP/brFMHakmGvRYCmxf3o2ZOE Og2MRydJv68f1wOd42cRRojQQ0dmnB6UWnzvvz+xYc5hpwKuwotd7nuynCHCVKX8ZKnJBoWKv l4UaWWc6eJ+ohZL1+bTi/RZcOvxOlzRsHe9zWUvTrXHKArrg7liV2dmi7Z/Ju0aao0cfcINuD o2gz2xM0A2HL6+kosJPSwsCimjKhGa6kIv9RbFeO/vMF/5Ff9zV9LTvMjH86dnxcWEWLUm0e6 rPBm0N2ZlUm3QYO70dhl6EBahpyTY+ESjz7Yhk9W1z+QjaC0Wfet/hjiiU61uBohVXSwNCuZy QuUqgAdUm+g31HVHcIRxqnJqVztfcnjJVwVqLIC4Alc7T5UWLoSWynd8WklZmFrpiJ59ILo8O BRHg6VgZ1kA4ezcBzh9AqOGh+vMMWw7h1/qW/3G8GhVcAynIbMPZX6RescLcyqAX4ntFd+HEY MR+qlAj8suiLWblUPVbmmY10iPUUzcp+92vDV+pBgoYpBeqtP3oqngb3TO7uyuVtJyBk2syfW 3g4M+Pla3x3jEnzciyn+fcE/r5FWBz9P2XwCKLRPV27uQ2rZ+w= 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 16:33:43 +0100 The script "checkpatch.pl" pointed information out like the following. WARNING: struct of_device_id should normally be const Thus fix the affected source code place. Signed-off-by: Markus Elfring --- drivers/irqchip/irq-gic-v2m.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-gic-v2m.c b/drivers/irqchip/irq-gic-v2m.c index 930261710ba2..7482c2b86bb8 100644 --- a/drivers/irqchip/irq-gic-v2m.c +++ b/drivers/irqchip/irq-gic-v2m.c @@ -380,7 +380,7 @@ static int __init gicv2m_init_one(struct fwnode_handle *fwnode, return ret; } -static struct of_device_id gicv2m_device_id[] = { +static const struct of_device_id gicv2m_device_id[] = { { .compatible = "arm,gic-v2m-frame", }, {}, }; -- 2.15.1