diff options
| author | Nishka Dasgupta <nishkadg.linux@gmail.com> | 2019-08-15 11:19:24 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-15 14:20:31 +0200 |
| commit | 1548547e1d82532db70a75b9635427a727cd5590 (patch) | |
| tree | af4fc0d8e1da16fee543cbe9f2d6aeb667acec18 /tools/perf/scripts/python/bin | |
| parent | staging: erofs: removing an extra call to iloc() in fill_inode() (diff) | |
| download | linux-1548547e1d82532db70a75b9635427a727cd5590.tar.gz linux-1548547e1d82532db70a75b9635427a727cd5590.zip | |
staging: gasket: apex: Make structure apex_desc constant
Static structure apex_desc, of type gasket_driver_desc, is used only as
an argument to the functions gasket_register_device() and
gasket_unregister_device(). In the definitions of both these functions,
their parameter is declared as const. Hence make apex_desc itself
constant to protect it from modification.
Issue found with Coccinelle.
Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Link: https://lore.kernel.org/r/20190815054924.643-1-nishkadg.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
