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


Groups > linux.kernel > #1737392

Re: [PATCH] crypto: padlock-aes: constify x86_cpu_id

From Herbert Xu <herbert@gondor.apana.org.au>
Newsgroups linux.kernel
Subject Re: [PATCH] crypto: padlock-aes: constify x86_cpu_id
Date 2017-09-22 12:20 +0200
Message-ID <ustdT-4TO-19@gated-at.bofh.it> (permalink)
References <uirwJ-7vh-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Aug 25, 2017 at 11:53:42PM +0530, Arvind Yadav wrote:
> x86_cpu_id are not supposed to change at runtime. MODULE_DEVICE_TABLE
> and x86_match_cpu are working with const x86_cpu_id. So mark the
> non-const x86_cpu_id 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 | Find similar | Unroll thread


Thread

Re: [PATCH] crypto: padlock-aes: constify x86_cpu_id Herbert Xu <herbert@gondor.apana.org.au> - 2017-09-22 12:20 +0200

csiph-web