[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YbHun5KtYPH2JMP0@matsya>
Date: Thu, 9 Dec 2021 17:25:11 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Guo Zhengkui <guozhengkui@...o.com>
Cc: Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Kishon Vijay Abraham I <kishon@...com>,
"open list:ARM/QUALCOMM SUPPORT" <linux-arm-msm@...r.kernel.org>,
"open list:GENERIC PHY FRAMEWORK" <linux-phy@...ts.infradead.org>,
open list <linux-kernel@...r.kernel.org>, kernel@...o.com
Subject: Re: [PATCH] phy: qcom: use struct_size instead of sizeof
On 09-12-21, 11:21, Guo Zhengkui wrote:
> Use struct_size() to get the accurate size of `clk_hw_onecell_data`
> with a variable size array, instead of sizeof(data) to get the size
> of a pointer.
Applied, thanks
--
~Vinod
Powered by blists - more mailing lists