Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1717122

Re: [PATCH] crypto: sahara: constify platform_device_id

From Herbert Xu <herbert@gondor.apana.org.au>
Newsgroups linux.kernel
Subject Re: [PATCH] crypto: sahara: constify platform_device_id
Date 2017-08-22 10:00 +0200
Message-ID <uhcgq-7KH-23@gated-at.bofh.it> (permalink)
References <udX4e-5hn-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Aug 13, 2017 at 02:34:00PM +0530, Arvind Yadav wrote:
> platform_device_id are not supposed to change at runtime. All functions
> working with platform_device_id provided by <linux/platform_device.h>
> work with const platform_device_id. So mark the non-const structs as
> const.
> 
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] crypto: sahara: constify platform_device_id Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-13 11:10 +0200
  Re: [PATCH] crypto: sahara: constify platform_device_id Herbert Xu <herbert@gondor.apana.org.au> - 2017-08-22 10:00 +0200

csiph-web