]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r321772:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 7 Aug 2017 13:16:38 +0000 (13:16 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 7 Aug 2017 13:16:38 +0000 (13:16 +0000)
commit8bbf597e28598152eaef8bad45e0808b0d00f443
treeff80c7f956c8d5375bc7cd31ad07f40524d404dc
parent9e85558f9595d408ec8d699287d605d16bae617f
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/10@322162 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/ofed/drivers/net/mlx4/main.c
sys/ofed/include/linux/mlx4/device.h