diff options
author | 2015-10-16 17:09:13 +0300 | |
---|---|---|
committer | 2015-10-16 23:25:48 -0700 | |
commit | 73061da07d28ac6724bcd9ce4b51cf51a8b6b40e (patch) | |
tree | bda6bd37fb26f21fa47d6e49de3483e124952ed4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | stm class: Select configfs (diff) | |
download | wireguard-linux-73061da07d28ac6724bcd9ce4b51cf51a8b6b40e.tar.xz wireguard-linux-73061da07d28ac6724bcd9ce4b51cf51a8b6b40e.zip |
intel_th: Check for NULL instead of ERR_PTR
devm_ioremap() returns NULL on error, it doesn't return an ERR_PTR,
which is what the current code does. This patch corrects these
checks.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions