diff options
| author | 2017-02-19 15:07:53 +0530 | |
|---|---|---|
| committer | 2017-03-07 08:21:38 -0800 | |
| commit | 3faf93543ccb3410bfaf992a0de4a925631a3526 (patch) | |
| tree | 7dd085f9ae90002a88b2c6bbfae7129e41cf5691 /tools/perf/scripts/python/stackcollapse.py | |
| parent | Linux 4.11-rc1 (diff) | |
| download | linux-dev-3faf93543ccb3410bfaf992a0de4a925631a3526.tar.xz linux-dev-3faf93543ccb3410bfaf992a0de4a925631a3526.zip | |
pstore: constify pstore_zbackend structures
The references of pstore_zbackend structures are stored into the
pointer zbackend of type struct pstore_zbackend. The pointer zbackend
can be made const as it is only dereferenced. After making this change
the pstore_zbackend structures whose references are stored into the
pointer zbackend can be made const too.
File size before:
text data bss dec hex filename
4817 541 172 5530 159a fs/pstore/platform.o
File size after:
text data bss dec hex filename
4865 477 172 5514 158a fs/pstore/platform.o
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
