]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r334948:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 17 Jun 2018 17:28:27 +0000 (17:28 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 17 Jun 2018 17:28:27 +0000 (17:28 +0000)
commit5e65fab9f4a5ca0caae7bee03a0fbf59d6e46414
tree99d793dc10851d360cb891f64535bf9a92478928
parent39b60e8b4618fc96506796d0012be302a2cf837b
MFC r334948:

Fix build of bxe with base gcc on i386

Casting from rman_res_t to a pointer results in "cast to pointer from
integer of different size" warnings with base gcc on i386, so print
these without casting.  The kva field of struct bxe_bar is of type
vm_offset_t, which can be 32 or 64 bit, so cast it to uintmax_t before
printing.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D15733

git-svn-id: svn://svn.freebsd.org/base/stable/10@335289 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/bxe/bxe.c