On Tue, Aug 19, 2025 at 10:39:34PM +0800, Qianfeng Rong wrote: > Use devm_kcalloc() in sc8180x_pinctrl_add_tile_resources() to gain built-in > overflow protection, making memory allocation safer when calculating > allocation size compared to explicit multiplication. > > Signed-off-by: Qianfeng Rong <rongqianfeng@xxxxxxxx> > --- > drivers/pinctrl/qcom/pinctrl-sc8180x.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx> -- With best wishes Dmitry