Thread (5 messages) 5 messages, 3 authors, 2021-12-09

Re: [PATCH] phy: qcom: use struct_size instead of sizeof

From: Vinod Koul <vkoul@kernel.org>
Date: 2021-12-09 11:55:20
Also in: linux-arm-msm, lkml

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

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help