Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Apr 2017 16:19:19 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r316580 - head/sys/dev/cxgbe/iw_cxgbe
Message-ID:  <201704061619.v36GJJOC040491@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704061619.v36GJJOC040491>