On Mon, Dec 09, 2024 at 01:16:01AM +0100, Thorsten Blum wrote:
> On 7. Dec 2024, at 08:48, Wei Liu wrote:
> > On Tue, Oct 15, 2024 at 12:18:29PM +0200, Thorsten Blum wrote:
> >> Add the __counted_by compiler attribute to the flexible array member
> >> range to improve access bounds-checking via CON
On 7. Dec 2024, at 08:48, Wei Liu wrote:
> On Tue, Oct 15, 2024 at 12:18:29PM +0200, Thorsten Blum wrote:
>> Add the __counted_by compiler attribute to the flexible array member
>> range to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
>> CONFIG_FORTIFY_SOURCE.
>>
>> Compile-tested on
On Tue, Oct 15, 2024 at 12:18:29PM +0200, Thorsten Blum wrote:
> Add the __counted_by compiler attribute to the flexible array member
> range to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
> CONFIG_FORTIFY_SOURCE.
>
> Compile-tested only.
>
> Signed-off-by: Thorsten Blum
Applied
e: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git
for-next/pstore
patch link:
https://lore.kernel.org/r/20241015101829.94876-2-thorsten.blum%40linux.dev
patch subject: [PATCH] hv: hyperv.h: Annotate vmbus_channel_gpadl_header with
__counted_by()
config: arm64-randconfig-001-20241016
(https:
Add the __counted_by compiler attribute to the flexible array member
range to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
CONFIG_FORTIFY_SOURCE.
Compile-tested only.
Signed-off-by: Thorsten Blum
---
include/linux/hyperv.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
dif