svn commit: r289259 - head/sys/dev/ntb/if_ntb

Conrad E. Meyer cem at FreeBSD.org
Tue Oct 13 19:46:56 UTC 2015


Author: cem
Date: Tue Oct 13 19:46:54 2015
New Revision: 289259
URL: https://svnweb.freebsd.org/changeset/base/289259

Log:
  if_ntb: Fix build on i386
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/sys/dev/ntb/if_ntb/if_ntb.c

Modified: head/sys/dev/ntb/if_ntb/if_ntb.c
==============================================================================
--- head/sys/dev/ntb/if_ntb/if_ntb.c	Tue Oct 13 19:46:12 2015	(r289258)
+++ head/sys/dev/ntb/if_ntb/if_ntb.c	Tue Oct 13 19:46:54 2015	(r289259)
@@ -1047,7 +1047,7 @@ ntb_transport_link_work(void *arg)
 	/* send the local info, in the opposite order of the way we read it */
 	for (i = 0; i < num_mw; i++) {
 		rc = ntb_write_remote_spad(ntb, IF_NTB_MW0_SZ_HIGH + (i * 2),
-		    ntb_get_mw_size(ntb, i) >> 32);
+		    (uint64_t)ntb_get_mw_size(ntb, i) >> 32);
 		if (rc != 0)
 			goto out;
 


More information about the svn-src-head mailing list