diff options
author | 2019-01-09 11:27:47 +0300 | |
---|---|---|
committer | 2019-01-16 08:45:38 +0100 | |
commit | 7ca17b207127240b1e4c8687ba7b9077e655336d (patch) | |
tree | d87db62c5dc432a49cb12e2eb205b804904a66a9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pwm: imx: Split into two drivers (diff) | |
download | wireguard-linux-7ca17b207127240b1e4c8687ba7b9077e655336d.tar.xz wireguard-linux-7ca17b207127240b1e4c8687ba7b9077e655336d.zip |
pwm: imx: Signedness bug in imx_pwm_get_state()
"ret" only holds zero and negative error codes. It needs to be signed
for the error handling to work.
Fixes: 9f4c8f9607c3 ("pwm: imx: Add ipg clock operation")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions