]> Gentwo Git Trees - linux/.git/commit
bpf: Document cfi_stubs and owner fields in struct bpf_struct_ops
authorNirbhay Sharma <nirbhay.lkd@gmail.com>
Thu, 20 Nov 2025 20:46:21 +0000 (02:16 +0530)
committerMartin KaFai Lau <martin.lau@kernel.org>
Thu, 20 Nov 2025 22:04:01 +0000 (14:04 -0800)
commite0940c672ab4228caa33bcd7cc0ad8017482c2f1
treeb9cf33e650eb67741037fe2767b0b43b21ba18a3
parentd088da904223e8f5e19c6d156cf372d5baec1a7c
bpf: Document cfi_stubs and owner fields in struct bpf_struct_ops

Add missing kernel-doc documentation for the cfi_stubs and owner
fields in struct bpf_struct_ops to fix the following warnings:

  Warning: include/linux/bpf.h:1931 struct member 'cfi_stubs' not
  described in 'bpf_struct_ops'
  Warning: include/linux/bpf.h:1931 struct member 'owner' not
  described in 'bpf_struct_ops'

The cfi_stubs field was added in commit 2cd3e3772e41 ("x86/cfi,bpf:
Fix bpf_struct_ops CFI") to provide CFI stub functions for trampolines,
and the owner field is used for module reference counting.

Signed-off-by: Nirbhay Sharma <nirbhay.lkd@gmail.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20251120204620.59571-2-nirbhay.lkd@gmail.com
include/linux/bpf.h