On Wed, 12 Jul 2023 22:42:15 +0200, Christophe JAILLET wrote: > Use struct_size() instead of hand-writing it, when allocating a structure > with a flex array. > > This is less verbose. > > Applied, thanks! [1/1] soc: qcom: smem: Use struct_size() commit: cbdd13bfea785667f9c9df4c6ec46fc841ef6c4a Best regards, -- Bjorn Andersson <andersson@xxxxxxxxxx>