Home
last modified time | relevance | path

Searched hist:"16 d5cee5" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/crypto/
H A Dpadlock-sha.c16d5cee5 Fri Aug 25 13:23:59 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> crypto: padlock-sha - constify x86_cpu_id

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>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
16d5cee5 Fri Aug 25 13:23:59 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> crypto: padlock-sha - constify x86_cpu_id

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>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>