diff options
| author | Kui-Feng Lee <thinker.li@gmail.com> | 2024-01-19 14:49:52 -0800 |
|---|---|---|
| committer | Martin KaFai Lau <martin.lau@kernel.org> | 2024-01-23 16:37:43 -0800 |
| commit | 3b1f89e747cd4b24244f2798a35d28815b744303 (patch) | |
| tree | 8be9712b5832eaf504966010fc01e0a338eefb35 /lib/memory-notifier-error-inject.c | |
| parent | Merge branch 'bpf-add-cookies-retrieval-for-perf-kprobe-multi-links' (diff) | |
| download | linux-3b1f89e747cd4b24244f2798a35d28815b744303.tar.gz linux-3b1f89e747cd4b24244f2798a35d28815b744303.zip | |
bpf: refactory struct_ops type initialization to a function.
Move the majority of the code to bpf_struct_ops_init_one(), which can then
be utilized for the initialization of newly registered dynamically
allocated struct_ops types in the following patches.
Signed-off-by: Kui-Feng Lee <thinker.li@gmail.com>
Link: https://lore.kernel.org/r/20240119225005.668602-2-thinker.li@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
