diff options
| author | Joanne Koong <joannelkoong@gmail.com> | 2023-03-01 07:49:47 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2023-03-01 09:55:23 -0800 |
| commit | 8357b366cbb09b17c90e2cd758360a6bd2ea7507 (patch) | |
| tree | c52cff5348459d1b870d6285ec328f67ced20773 /lib/mpi/mpi-sub-ui.c | |
| parent | 1d18feb2c915c5ad0a9a61d04b8560e8efb78ce8 (diff) | |
bpf: Define no-ops for externally called bpf dynptr functions
Some bpf dynptr functions will be called from places where
if CONFIG_BPF_SYSCALL is not set, then the dynptr function is
undefined. For example, when skb type dynptrs are added in the
next commit, dynptr functions are called from net/core/filter.c
This patch defines no-op implementations of these dynptr functions
so that they do not break compilation by being an undefined reference.
Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Link: https://lore.kernel.org/r/20230301154953.641654-5-joannelkoong@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
