diff options
author | Nishka Dasgupta <nishkadg.linux@gmail.com> | 2019-08-08 13:34:22 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-15 18:03:38 +0200 |
commit | cd010d9b986f05b17adc02563eef4ebd38e6037f (patch) | |
tree | cba229df6fc0b8a8dbf73263e06180a9423e1bec /drivers/reset | |
parent | 9bfe54e3b70e1d594a7fdc1e50043ab32e29eea7 (diff) |
sgi-xp: xpc_uv: Make structure xpc_arch_ops_uv constant
The static xpc_arch_operations structure xpc_arch_ops_uv is only copied
into the structure xpc_arch_ops, after which it is never modified; nor
is it used in any other way. Hence it can be declared as a constant to
prevent unintended modifications of its fields.
Issue found with Coccinelle.
Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Acked-by: Robin Holt <robinmholt@gmail.com>
Link: https://lore.kernel.org/r/20190808080422.16503-1-nishkadg.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/reset')
0 files changed, 0 insertions, 0 deletions