Fixes: a1fffb3d6155 ("bpf: btf: Add pretty print support to the basic arraymap") Signed-off-by: Fengguang Wu <fengguang...@intel.com> --- inode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/bpf/inode.c b/kernel/bpf/inode.c index 11ea64b..e3eec943 100644 --- a/kernel/bpf/inode.c +++ b/kernel/bpf/inode.c @@ -192,7 +192,7 @@ static struct map_iter *map_iter_alloc(struct bpf_map *map) return NULL; } -void *map_seq_next(struct seq_file *m, void *v, loff_t *pos) +static void *map_seq_next(struct seq_file *m, void *v, loff_t *pos) { struct bpf_map *map = seq_file_to_map(m); void *key = map_iter(m)->key; @@ -279,7 +279,7 @@ static int bpffs_map_release(struct inode *inode, struct file *file) return seq_release(inode, file); } -const struct file_operations bpffs_map_fops = { +static const struct file_operations bpffs_map_fops = { .open = bpffs_map_open, .read = seq_read, .release = bpffs_map_release,