Re: [PATCH][next] phy: qcom-qusb2: fix missing assignment to an error return code

2018-03-21 Thread Vivek Gautam
On 3/21/2018 11:15 PM, Colin King wrote: From: Colin Ian King The error return code is not being assigned to ret from the call to clk_prepare_enable and consequently the current check on ret picks up the previous error return. Fix this by adding in the missing assignment to ret. Detected by

[PATCH][next] phy: qcom-qusb2: fix missing assignment to an error return code

2018-03-21 Thread Colin King
From: Colin Ian King The error return code is not being assigned to ret from the call to clk_prepare_enable and consequently the current check on ret picks up the previous error return. Fix this by adding in the missing assignment to ret. Detected by CoverityScan, CID#166020 ("Logically Dead cod