Re: [PATCH RESEND] i2c: atr: annotate i2c_atr_adap_desc->aliases with __counted_by_ptr

From: Andi Shyti

Date: Tue Jun 16 2026 - 18:18:31 EST


Hi Thorsten,

On Thu, Jun 11, 2026 at 11:55:02PM +0200, Thorsten Blum wrote:
> Add the __counted_by_ptr() compiler attribute to ->aliases to improve
> bounds checking via CONFIG_UBSAN_BOUNDS and CONFIG_FORTIFY_SOURCE.
>
> Reviewed-by: Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>

merged in i2c/i2c-host.

Thanks,
Andi