diff options
author | 2022-08-07 10:51:16 -0700 | |
---|---|---|
committer | 2022-08-09 10:30:45 -0700 | |
commit | a00ed8430199abbc9d9bf43ea31795bfe98998ca (patch) | |
tree | 696ad86a479b12120fdf4a3a26a840da5591ff59 /lib/memory-notifier-error-inject.c | |
parent | Merge branch 'Add BPF-helper for accessing CLOCK_TAI' (diff) | |
download | linux-rng-a00ed8430199abbc9d9bf43ea31795bfe98998ca.tar.xz linux-rng-a00ed8430199abbc9d9bf43ea31795bfe98998ca.zip |
bpf: Always return corresponding btf_type in __get_type_size()
Currently in funciton __get_type_size(), the corresponding
btf_type is returned only in invalid cases. Let us always
return btf_type regardless of valid or invalid cases.
Such a new functionality will be used in subsequent patches.
Signed-off-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/r/20220807175116.4179242-1-yhs@fb.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions