]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r321772:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 7 Aug 2017 13:17:57 +0000 (13:17 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 7 Aug 2017 13:17:57 +0000 (13:17 +0000)
commit1d86e52e4fa243187068a7e6a7de28db54b86e4e
treecf6be9eb7eaeddd6559fd1f2168f083a01490464
parent531ec7f7b8c43c7bf30b255f16eb29d1e7b31abc
MFC r321772:
Fix broken usage of the mlx4_read_clock() function:
 - return value has too small width
 - cycle_t is unsigned and cannot be less than zero

Sponsored by: Mellanox Technologies

git-svn-id: svn://svn.freebsd.org/base/stable/9@322163 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/ofed/drivers/net/mlx4/main.c
sys/ofed/include/linux/mlx4/device.h