Re: [PATCH v2] drivers: firmware: Handle error case in the zynqmp_pm_feature

2023-10-19 Thread Michal Simek
On 10/11/23 04:56, Venkatesh Yadav Abbarapu wrote: Unhandled error coming from xilinx_pm_request() but return value is not read back that's why getting sparse warning as below: warning: variable 'ret' set but not used [-Wunused-but-set-variable]. In case of error return the "ret" value.

[PATCH v2] drivers: firmware: Handle error case in the zynqmp_pm_feature

2023-10-10 Thread Venkatesh Yadav Abbarapu
Unhandled error coming from xilinx_pm_request() but return value is not read back that's why getting sparse warning as below: warning: variable 'ret' set but not used [-Wunused-but-set-variable]. In case of error return the "ret" value. Signed-off-by: Venkatesh Yadav Abbarapu --- Changes in v2: