-
由 Guo Zhengkui 提交于
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. Suggested-by: NBjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: NGuo Zhengkui <guozhengkui@vivo.com> Fixes: f199223c ("phy: qcom: Introduce new eDP PHY driver") Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20211209032114.9416-1-guozhengkui@vivo.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
e87f13c3