diff options
author | Venkatesh Yadav Abbarapu | 2023-10-11 08:26:47 +0530 |
---|---|---|
committer | Michal Simek | 2023-11-07 13:47:08 +0100 |
commit | ba9bdfd959f217a96772b83468c065b48f2581f0 (patch) | |
tree | 27f5145e7b2342e3c5bc63ec5099840842d37303 /doc/README.serial_dt_baud | |
parent | dea1c089cfee23e1dfd838e57aba050add2d3193 (diff) |
drivers: firmware: Handle error case in the zynqmp_pm_feature
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 <venkatesh.abbarapu@amd.com>
Link: https://lore.kernel.org/r/20231011025647.17200-1-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'doc/README.serial_dt_baud')
0 files changed, 0 insertions, 0 deletions