Hans Petter Selasky 127a9d7381 Make sure returned value is checked and assert a valid refcount.
While at it fix a print: Unsigned types cannot be negative.

Reviewed by:		kib, mjg
Differential revision:	https://reviews.freebsd.org/D17616
MFC after:		1 week
Sponsored by:		Mellanox Technologies
2018-10-22 16:21:50 +00:00
..
2018-10-22 02:36:07 +00:00
2018-10-20 20:45:49 +00:00
2018-10-05 17:53:47 +00:00
2018-08-23 13:21:01 +00:00
2018-10-22 02:36:18 +00:00
2018-10-20 22:39:35 +00:00
2018-10-22 02:36:18 +00:00
2018-10-22 02:34:59 +00:00
2018-07-15 00:31:17 +00:00
2018-09-22 17:05:49 +00:00