6405398 LDoms NIU Hybrid IO support (fix cstyle/lint)
authorspeer
Mon, 28 Apr 2008 07:24:03 -0700
changeset 6498 b7443df2189c
parent 6497 05d39c18ba4f
child 6499 73e8f0ac9a81
6405398 LDoms NIU Hybrid IO support (fix cstyle/lint)
usr/src/uts/common/io/nxge/nxge_hio.c
usr/src/uts/common/io/nxge/nxge_main.c
--- a/usr/src/uts/common/io/nxge/nxge_hio.c	Mon Apr 28 02:30:22 2008 -0700
+++ b/usr/src/uts/common/io/nxge/nxge_hio.c	Mon Apr 28 07:24:03 2008 -0700
@@ -1272,7 +1272,7 @@
 	 * First, unassign the VR (take it back),
 	 * so we can enable interrupts again.
 	 */
-	nxge_hio_share_unassign(shp->vrp);
+	(void) nxge_hio_share_unassign(shp->vrp);
 
 	/*
 	 * Free Ring Resources for TX and RX
--- a/usr/src/uts/common/io/nxge/nxge_main.c	Mon Apr 28 02:30:22 2008 -0700
+++ b/usr/src/uts/common/io/nxge/nxge_main.c	Mon Apr 28 07:24:03 2008 -0700
@@ -100,9 +100,9 @@
 
 /* Use kmem_alloc() to allocate data buffers. */
 #if !defined(__i386)
-uint32_t       nxge_use_kmem_alloc = 1;
+uint32_t	nxge_use_kmem_alloc = 1;
 #else
-uint32_t       nxge_use_kmem_alloc = 0;
+uint32_t	nxge_use_kmem_alloc = 0;
 #endif
 
 rtrace_t npi_rtracebuf;
@@ -867,7 +867,7 @@
 
 #if	defined(sun4v)
 	if (isLDOMguest(nxgep)) {
-		nxge_hio_vr_release(nxgep);
+		(void) nxge_hio_vr_release(nxgep);
 	}
 #endif