[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <171707136517.115496.4990483419081659486.b4-ty@kernel.org>
Date: Thu, 30 May 2024 15:16:05 +0300
From: Leon Romanovsky <leon@...nel.org>
To: Mustafa Ismail <mustafa.ismail@...el.com>,
Shiraz Saleem <shiraz.saleem@...el.com>, Jason Gunthorpe <jgg@...pe.ca>,
Kees Cook <keescook@...omium.org>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-rdma@...r.kernel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH] RDMA/irdma: Annotate flexible array with
__counted_by() in struct irdma_qvlist_info
On Sun, 19 May 2024 09:02:15 +0200, Christophe JAILLET wrote:
> 'num_vectors' is used to count the number of elements in the 'qv_info'
> flexible array in "struct irdma_qvlist_info".
>
> So annotate it with __counted_by() to make it explicit and enable some
> additional checks.
>
> This allocation is done in irdma_save_msix_info().
>
> [...]
Applied, thanks!
[1/1] RDMA/irdma: Annotate flexible array with __counted_by() in struct irdma_qvlist_info
https://git.kernel.org/rdma/rdma/c/38c02d813aa321
Best regards,
--
Leon Romanovsky <leon@...nel.org>
Powered by blists - more mailing lists