Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752064AbdIVKNP (ORCPT ); Fri, 22 Sep 2017 06:13:15 -0400 Received: from orcrist.hmeau.com ([104.223.48.154]:38662 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751826AbdIVKNM (ORCPT ); Fri, 22 Sep 2017 06:13:12 -0400 Date: Fri, 22 Sep 2017 18:12:48 +0800 From: Herbert Xu To: Arvind Yadav Cc: davem@davemloft.net, benh@kernel.crashing.org, leosilva@linux.vnet.ibm.com, pfsmorigo@linux.vnet.ibm.com, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH] crypto: nx: constify vio_device_id Message-ID: <20170922101248.GB16270@gondor.apana.org.au> References: <35e1702104da09dee65dd407bde06b8cb31f6483.1502974810.git.arvind.yadav.cs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <35e1702104da09dee65dd407bde06b8cb31f6483.1502974810.git.arvind.yadav.cs@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 499 Lines: 12 On Thu, Aug 17, 2017 at 06:44:10PM +0530, Arvind Yadav wrote: > 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 Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt