[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <169020059491.473139.10236132535455236281.b4-ty@kernel.org>
Date: Mon, 24 Jul 2023 15:09:54 +0300
From: Leon Romanovsky <leon@...nel.org>
To: Dennis Dalessandro <dennis.dalessandro@...nelisnetworks.com>,
Jason Gunthorpe <jgg@...pe.ca>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-rdma@...r.kernel.org
Subject: Re: [PATCH v2] IB/hfi1: Use struct_size()
On Sat, 22 Jul 2023 18:47:24 +0200, Christophe JAILLET wrote:
> Use struct_size() instead of hand-writing it, when allocating a structure
> with a flex array.
>
> This is less verbose, more robust and more informative.
>
>
Applied, thanks!
[1/1] IB/hfi1: Use struct_size()
https://git.kernel.org/rdma/rdma/c/24b1b5d85c1c1e
Best regards,
--
Leon Romanovsky <leon@...nel.org>
Powered by blists - more mailing lists