]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dm vdo: add __counted_by attribute to a number of structures
authorKen Raeburn <raeburn@redhat.com>
Fri, 27 Feb 2026 01:12:08 +0000 (20:12 -0500)
committerMikulas Patocka <mpatocka@redhat.com>
Mon, 2 Mar 2026 16:03:37 +0000 (17:03 +0100)
commitdb139186beac761c1172a7b20687fb2078c6a70c
treee77f175957b897a101fc8f0ef04679fe5b181ba7
parent9bb388b1a95751c4a4a99a4dab1b21136a4eeb96
dm vdo: add __counted_by attribute to a number of structures

This attribute allows the compiler to refine compile-time diagnostics
and run-time sanitizer features with information about the size of the
flexible arrays.

Signed-off-by: Ken Raeburn <raeburn@redhat.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
drivers/md/dm-vdo/block-map.h
drivers/md/dm-vdo/dedupe.c
drivers/md/dm-vdo/indexer/index.h
drivers/md/dm-vdo/indexer/open-chapter.h
drivers/md/dm-vdo/logical-zone.h
drivers/md/dm-vdo/physical-zone.c
drivers/md/dm-vdo/repair.c
drivers/md/dm-vdo/slab-depot.h