Tadeusz Struk 93dd0a0978 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>
2016-06-17 20:11:27 -04:00
..
2016-06-07 10:03:50 -04:00
2016-05-20 14:35:07 -07:00
2016-05-13 13:37:57 -04:00
2016-06-17 20:11:26 -04:00
2016-05-26 11:35:14 -04:00