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;
        }
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to