diff options
author | Thorsten Blum <thorsten.blum@toblux.com> | 2024-08-21 19:29:22 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-09-09 16:41:47 +0300 |
commit | 8573dd3474e8ec067b3c0c80d591c6de1d94e1e9 (patch) | |
tree | c06edbf4110226a46aec535277496f217ae8f458 /scripts/lib/kdoc/kdoc_files.py | |
parent | 5396e5af3c1032b659bd6b1c1ec18e8af275a746 (diff) | |
download | linux-8573dd3474e8ec067b3c0c80d591c6de1d94e1e9.tar.xz |
bcachefs: Annotate struct bucket_array with __counted_by()
Add the __counted_by compiler attribute to the flexible array member
bucket to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
CONFIG_FORTIFY_SOURCE.
Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions