Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753864AbdHQRSH (ORCPT ); Thu, 17 Aug 2017 13:18:07 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:60044 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753324AbdHQRSE (ORCPT ); Thu, 17 Aug 2017 13:18:04 -0400 Date: Thu, 17 Aug 2017 10:18:04 -0700 (PDT) Message-Id: <20170817.101804.2016942034542452971.davem@davemloft.net> To: arvind.yadav.cs@gmail.com Cc: tlfalcon@linux.vnet.ibm.com, benh@kernel.crashing.org, jallen@linux.vnet.ibm.com, mpe@ellerman.id.au, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, netdev@vger.kernel.org Subject: Re: [PATCH] net: ibm: ibmveth: constify vio_device_id From: David Miller In-Reply-To: References: 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]); Thu, 17 Aug 2017 10:18:04 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 352 Lines: 10 From: Arvind Yadav Date: Thu, 17 Aug 2017 18:52:53 +0530 > vio_device_id are not supposed to change at runtime. All functions > working with vio_device_id provided by work with > const vio_device_id. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav Applied.