Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752127AbdIVKN3 (ORCPT ); Fri, 22 Sep 2017 06:13:29 -0400 Received: from orcrist.hmeau.com ([104.223.48.154]:38690 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751826AbdIVKN0 (ORCPT ); Fri, 22 Sep 2017 06:13:26 -0400 Date: Fri, 22 Sep 2017 18:13:02 +0800 From: Herbert Xu To: Arvind Yadav Cc: mpm@selenic.com, mpe@ellerman.id.au, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-crypto@vger.kernel.org Subject: Re: [PATCH] hwrng: pseries: constify vio_device_id Message-ID: <20170922101302.GD16270@gondor.apana.org.au> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 11:06:23PM +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