On Mon, Mar 16, 2026 at 11:21:12AM -0700, Rosen Penev wrote:
> diff --git a/drivers/thunderbolt/tb.h b/drivers/thunderbolt/tb.h
> index e96474f17067..4e66b53860dd 100644
> --- a/drivers/thunderbolt/tb.h
> +++ b/drivers/thunderbolt/tb.h
> @@ -440,9 +440,10 @@ struct tb_path {
>       bool drop_packages;
>       bool activated;
>       bool clear_fc;
> -     struct tb_path_hop *hops;
>       int path_length;
>       bool alloc_hopid;
> +
> +     struct tb_path_hop hops[] __counted_by(path_length);

Please update the kernel-doc too. Other than that this looks good.

Reply via email to