Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Oct 2016 22:36:36 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r306694 - stable/11/sys/dev/cxgbe
Message-ID:  <201610042236.u94Maa7F092555@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Tue Oct  4 22:36:36 2016
New Revision: 306694
URL: https://svnweb.freebsd.org/changeset/base/306694

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

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

Modified: stable/11/sys/dev/cxgbe/t4_iov.c
==============================================================================
--- stable/11/sys/dev/cxgbe/t4_iov.c	Tue Oct  4 22:34:12 2016	(r306693)
+++ stable/11/sys/dev/cxgbe/t4_iov.c	Tue Oct  4 22:36:36 2016	(r306694)
@@ -97,7 +97,7 @@ static int	t4iov_attach_child(device_t d
 static int
 t4iov_probe(device_t dev)
 {
-	uint16_t d; 
+	uint16_t d;
 	size_t i;
 
 	d = pci_get_device(dev);
@@ -114,7 +114,7 @@ t4iov_probe(device_t dev)
 static int
 t5iov_probe(device_t dev)
 {
-	uint16_t d; 
+	uint16_t d;
 	size_t i;
 
 	d = pci_get_device(dev);

Modified: stable/11/sys/dev/cxgbe/t4_sge.c
==============================================================================
--- stable/11/sys/dev/cxgbe/t4_sge.c	Tue Oct  4 22:34:12 2016	(r306693)
+++ stable/11/sys/dev/cxgbe/t4_sge.c	Tue Oct  4 22:36:36 2016	(r306694)
@@ -594,7 +594,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/11/sys/dev/cxgbe/t4_vf.c
==============================================================================
--- stable/11/sys/dev/cxgbe/t4_vf.c	Tue Oct  4 22:34:12 2016	(r306693)
+++ stable/11/sys/dev/cxgbe/t4_vf.c	Tue Oct  4 22:36:36 2016	(r306694)
@@ -124,7 +124,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);
@@ -140,7 +140,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);
@@ -653,7 +653,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.
 	 */



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