lkml.org 
[lkml]   [2023]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2] IB/hfi1: Use struct_size()
Date

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@kernel.org>

\
 
 \ /
  Last update: 2023-07-24 14:10    [W:0.076 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site