Mike Marciniszyn ec40f925e0 IB/qib: fix test of unsigned variable
Commit d4988623cc60 ("IB/qib: use arch_phys_wc_add()")
adjusted mtrr inititialization to use the new interface.

Unfortunately, the new interface returns a signed
value and the patch tested the unsigned wc_cookie.

Fix the issue by changing the type of wc_cookie to int.  For
the success case the ret left at zero to avoid
a warning from the caller.  For failure wc_cookie
is used as the ret.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-05-12 13:55:41 -04:00
..
2013-09-13 15:09:52 +02:00
2015-02-20 09:04:09 -08:00
2013-06-21 17:19:49 -07:00
2015-02-20 09:04:09 -08:00
2015-05-05 09:18:02 -04:00
2015-05-05 09:18:02 -04:00
2015-05-05 09:18:02 -04:00
2015-05-05 09:18:02 -04:00
2015-05-05 09:18:02 -04:00
2015-02-20 09:04:09 -08:00
2015-02-20 09:04:09 -08:00
2013-08-13 11:14:34 -07:00
2011-10-13 09:13:26 -07:00
2015-05-12 13:55:41 -04:00