Re: [PATCH] crypto: nx: 842: constify vio_device_id
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2017-09-22 10:13:23
Also in:
linux-crypto, lkml
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2017-09-22 10:13:23
Also in:
linux-crypto, lkml
On Thu, Aug 17, 2017 at 06:44:11PM +0530, Arvind Yadav wrote:
vio_device_id are not supposed to change at runtime. All functions working with vio_device_id provided by <asm/vio.h> work with const vio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <redacted>
Patch applied. Thanks. -- Email: Herbert Xu [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt