On Thu, 07 Sep 2023 12:20:52 +0530, Varadarajan Narayanan wrote: > Fix the following Smatch complaint: > drivers/phy/qualcomm/phy-qcom-m31.c:175 m31usb_phy_init() > warn: variable dereferenced before check 'qphy->vreg' (see line 167) > > drivers/phy/qualcomm/phy-qcom-m31.c > 166 > 167 ret = regulator_enable(qphy->vreg); > ^^^^^^^^^^ > Unchecked dereference > > [...] Applied, thanks! [1/1] phy: qcom: m31: Remove unwanted qphy->vreg is NULL check commit: ecec1de5c58f8f3ab6959fcf8d68752eeb65311d Best regards, -- ~Vinod