svn commit: r316580 - head/sys/dev/cxgbe/iw_cxgbe

Navdeep Parhar np at FreeBSD.org
Thu Apr 6 16:19:21 UTC 2017


Author: np
Date: Thu Apr  6 16:19:19 2017
New Revision: 316580
URL: https://svnweb.freebsd.org/changeset/base/316580

Log:
  cxgbe/iw_cxgbe: Remove another bad cast.  This should have been
  included in r316571.
  
  MFC after:	3 days
  Sponsored by:	Chelsio Communications

Modified:
  head/sys/dev/cxgbe/iw_cxgbe/mem.c

Modified: head/sys/dev/cxgbe/iw_cxgbe/mem.c
==============================================================================
--- head/sys/dev/cxgbe/iw_cxgbe/mem.c	Thu Apr  6 16:18:42 2017	(r316579)
+++ head/sys/dev/cxgbe/iw_cxgbe/mem.c	Thu Apr  6 16:19:19 2017	(r316580)
@@ -443,7 +443,7 @@ int c4iw_reregister_phys_mem(struct ib_m
 		mhp->attr.zbva = 0;
 		mhp->attr.va_fbo = *iova_start;
 		mhp->attr.page_size = shift - 12;
-		mhp->attr.len = (u32) total_size;
+		mhp->attr.len = total_size;
 		mhp->attr.pbl_size = npages;
 	}
 


More information about the svn-src-all mailing list