diff options
author | 2016-06-09 07:51:45 -0700 | |
---|---|---|
committer | 2016-06-17 20:11:27 -0400 | |
commit | 93dd0a097859a174817ea94ec55bfc29c5706454 (patch) | |
tree | 11187370374edd6dabd62e9c06ebcf040cbcd89c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | IB/qib: Prevent context loss (diff) | |
download | linux-dev-93dd0a097859a174817ea94ec55bfc29c5706454.tar.xz linux-dev-93dd0a097859a174817ea94ec55bfc29c5706454.zip |
IB/hfi1: Fix potential NULL ptr dereference
This fixes potential NULL ptr dereference because IS_ERR(dd) doesn't
handle NULL. Fix the issue by initializing the pointer with a not NULL
error code.
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions