diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2016-07-14 11:06:11 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-08-15 15:38:59 +0100 |
commit | bb9947c3a14e781eb0f137728e7e55ec8d848991 (patch) | |
tree | de848c17a63419122e8b09e3cdd4c6bb71b7522d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 694d0d0bb2030d2e36df73e2d23d5770511dbc8d (diff) |
iio: pressure: bmp280: fix wrong pointer passed to PTR_ERR()
PTR_ERR should access the value just tested by IS_ERR, otherwise
the wrong error code will be returned.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions