svn commit: r309449 - stable/10/sys/dev/cxgbe

John Baldwin jhb at FreeBSD.org
Fri Dec 2 23:05:16 UTC 2016


Author: jhb
Date: Fri Dec  2 23:05:14 2016
New Revision: 309449
URL: https://svnweb.freebsd.org/changeset/base/309449

Log:
  MFC 303859,305851: Fix a typo and some whitespace nits.

Modified:
  stable/10/sys/dev/cxgbe/t4_sge.c
  stable/10/sys/dev/cxgbe/t4_vf.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/cxgbe/t4_sge.c
==============================================================================
--- stable/10/sys/dev/cxgbe/t4_sge.c	Fri Dec  2 23:01:19 2016	(r309448)
+++ stable/10/sys/dev/cxgbe/t4_sge.c	Fri Dec  2 23:05:14 2016	(r309449)
@@ -593,7 +593,7 @@ t4_tweak_chip_settings(struct adapter *s
 
 /*
  * SGE wants the buffer to be at least 64B and then a multiple of 16.  If
- * padding is is use the buffer's start and end need to be aligned to the pad
+ * padding is in use, the buffer's start and end need to be aligned to the pad
  * boundary as well.  We'll just make sure that the size is a multiple of the
  * boundary here, it is up to the buffer allocation code to make sure the start
  * of the buffer is aligned as well.

Modified: stable/10/sys/dev/cxgbe/t4_vf.c
==============================================================================
--- stable/10/sys/dev/cxgbe/t4_vf.c	Fri Dec  2 23:01:19 2016	(r309448)
+++ stable/10/sys/dev/cxgbe/t4_vf.c	Fri Dec  2 23:05:14 2016	(r309449)
@@ -125,7 +125,7 @@ static struct cdevsw t4vf_cdevsw = {
 static int
 t4vf_probe(device_t dev)
 {
-	uint16_t d; 
+	uint16_t d;
 	size_t i;
 
 	d = pci_get_device(dev);
@@ -141,7 +141,7 @@ t4vf_probe(device_t dev)
 static int
 t5vf_probe(device_t dev)
 {
-	uint16_t d; 
+	uint16_t d;
 	size_t i;
 
 	d = pci_get_device(dev);
@@ -654,7 +654,7 @@ t4vf_attach(device_t dev)
 		pi->vi[0].dev = pi->dev;
 		device_set_softc(pi->dev, pi);
 	}
-		
+
 	/*
 	 * Interrupt type, # of interrupts, # of rx/tx queues, etc.
 	 */


More information about the svn-src-all mailing list