Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Dec 2016 23:05:15 +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-10@freebsd.org
Subject:   svn commit: r309449 - stable/10/sys/dev/cxgbe
Message-ID:  <201612022305.uB2N5FQa069079@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.
 	 */



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