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

2017-09-22 Thread Herbert Xu
On Fri, Aug 25, 2017 at 11:53:59PM +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

[PATCH] crypto: padlock-sha: constify x86_cpu_id

2017-08-25 Thread Arvind Yadav
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 --- drivers/crypto/padlock-sha.c | 2 +- 1 file changed, 1