diff options
| author | 2022-07-27 20:54:19 +0200 | |
|---|---|---|
| committer | 2022-09-28 08:54:39 +0200 | |
| commit | b471927ebf9bb54ba6e99f20848d70193e645eed (patch) | |
| tree | f003b07f779a9b0cee0a465ee8002cc7eaf9dbd5 /samples/git:/ssh:/git@git.zx2c4.com | |
| parent | kallsyms: use `ARRAY_SIZE` instead of hardcoded size (diff) | |
| download | linux-dev-b471927ebf9bb54ba6e99f20848d70193e645eed.tar.xz linux-dev-b471927ebf9bb54ba6e99f20848d70193e645eed.zip | |
kallsyms: avoid hardcoding buffer size
This introduces `KSYM_NAME_LEN_BUFFER` in place of the previously
hardcoded size of the input buffer.
It will also make it easier to update the size in a single place
in a later patch.
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Co-developed-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'samples/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
