diff options
author | Thorsten Blum <thorsten.blum@linux.dev> | 2024-11-05 11:18:14 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2024-11-13 12:56:48 -0500 |
commit | de183b2baf90f0acc1854a3998c14b8b228f9643 (patch) | |
tree | e05f6ed8caf2a394a11085750ef6c5825abbcb43 /drivers/fpga/microchip-spi.c | |
parent | 2bd9077b6261b8f1281d0fa74d51afe090319263 (diff) | |
download | linux-de183b2baf90f0acc1854a3998c14b8b228f9643.tar.gz linux-de183b2baf90f0acc1854a3998c14b8b228f9643.tar.bz2 linux-de183b2baf90f0acc1854a3998c14b8b228f9643.zip |
ext4: annotate struct fname with __counted_by()
Add the __counted_by compiler attribute to the flexible array member
name to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
CONFIG_FORTIFY_SOURCE.
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20241105101813.10864-2-thorsten.blum@linux.dev
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions