From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751619AbdJNV1n (ORCPT ); Sat, 14 Oct 2017 17:27:43 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:38719 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751004AbdJNV1l (ORCPT ); Sat, 14 Oct 2017 17:27:41 -0400 X-Google-Smtp-Source: AOwi7QCsVZbUfnySbGjFLEc5v2LYN1Ek0K4lMmpdPcyzRo+G+jcloKkZL2C/Bm/avnehBFnqWlxnJQ== Date: Sat, 14 Oct 2017 22:27:37 +0100 From: Sudip Mukherjee To: Arvind Yadav Cc: jejb@parisc-linux.org, deller@gmx.de, linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org Subject: Re: [PATCH] parisc: parport_gsc: constify parisc_device_id Message-ID: <20171014212737.GA4712@sudip-laptop> References: <208280b55a359db78eecee720799955f2043fb49.1503162439.git.arvind.yadav.cs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <208280b55a359db78eecee720799955f2043fb49.1503162439.git.arvind.yadav.cs@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 19, 2017 at 10:38:41PM +0530, Arvind Yadav wrote: > parisc_device_id are not supposed to change at runtime. All functions > working with parisc_device_id provided by work > with > const parisc_device_id. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav > --- > drivers/parport/parport_gsc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) This has already been done by f0973443bef7 ("parisc/parport_gsc: Fix section mismatches") -- Regards Sudip