Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752262AbdHPS0Q (ORCPT ); Wed, 16 Aug 2017 14:26:16 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:34940 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751635AbdHPS0P (ORCPT ); Wed, 16 Aug 2017 14:26:15 -0400 Date: Wed, 16 Aug 2017 11:26:14 -0700 (PDT) Message-Id: <20170816.112614.1895556827875971525.davem@davemloft.net> To: arvind.yadav.cs@gmail.com Cc: jarod@redhat.com, dhowells@redhat.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH] net: 3c509: constify pnp_device_id From: David Miller In-Reply-To: <9970265bdf2dd4c4dfbaf6690145d9726748b598.1502859040.git.arvind.yadav.cs@gmail.com> References: <60c34272432b3411cd5d55728c62481e133f32a6.1502859040.git.arvind.yadav.cs@gmail.com> <9970265bdf2dd4c4dfbaf6690145d9726748b598.1502859040.git.arvind.yadav.cs@gmail.com> X-Mailer: Mew version 6.7 on Emacs 25.2 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 16 Aug 2017 11:26:15 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 354 Lines: 10 From: Arvind Yadav Date: Wed, 16 Aug 2017 10:25:59 +0530 > pnp_device_id are not supposed to change at runtime. All functions > working with pnp_device_id provided by work with > const pnp_device_id. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav Applied.