diff options
| author | Srinivas Neeli <srinivas.neeli@xilinx.com> | 2021-04-09 19:38:05 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-20 16:22:41 +0200 |
| commit | 2f02ffdd6f6d2bd3f0974387348522bae0c22a2f (patch) | |
| tree | 22e595b47e5737ed02e1be59baef66c47843d4a3 /tools/perf/scripts/python | |
| parent | 209fcdad57061f30c5acaca4fe3eed36c28c2086 (diff) | |
gpio: zynq: Check return value of pm_runtime_get_sync
[ Upstream commit a51b2fb94b04ab71e53a71b9fad03fa826941254 ]
Return value of "pm_runtime_get_sync" API was neither captured nor checked.
Fixed it by capturing the return value and then checking for any warning.
Addresses-Coverity: "check_return"
Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
