summaryrefslogtreecommitdiffstats
path: root/kernel/extable.c
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2022-07-27 21:41:56 +0200
committerMiguel Ojeda <ojeda@kernel.org>2022-09-28 08:55:08 +0200
commit6e8c5bbd5e83e649251c198e743c8b9e7c48372b (patch)
tree21ebec7cb52492cc4139be2f4dbc219d0521331b /kernel/extable.c
parentb471927ebf9bb54ba6e99f20848d70193e645eed (diff)
downloadlinux-6e8c5bbd5e83e649251c198e743c8b9e7c48372b.tar.gz
linux-6e8c5bbd5e83e649251c198e743c8b9e7c48372b.tar.bz2
linux-6e8c5bbd5e83e649251c198e743c8b9e7c48372b.zip
kallsyms: add static relationship between `KSYM_NAME_LEN{,_BUFFER}`
This adds a static assert to ensure `KSYM_NAME_LEN_BUFFER` gets updated when `KSYM_NAME_LEN` changes. The relationship used is one that keeps the new size (512+1) close to the original buffer size (500). Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Co-developed-by: Boqun Feng <boqun.feng@gmail.com> Signed-off-by: Boqun Feng <boqun.feng@gmail.com> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'kernel/extable.c')
0 files changed, 0 insertions, 0 deletions