summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2016-12-02 23:05:14 +0000
committerjhb <jhb@FreeBSD.org>2016-12-02 23:05:14 +0000
commitc471f7053e77d60591c67e1cf89088527663b97a (patch)
tree7d5de5f59faf5de0df237d6a7a03037398781af9
parent87d25e00a44c9f4055265b5db87413f6e759952c (diff)
downloadFreeBSD-src-c471f7053e77d60591c67e1cf89088527663b97a.zip
FreeBSD-src-c471f7053e77d60591c67e1cf89088527663b97a.tar.gz
MFC 303859,305851: Fix a typo and some whitespace nits.
-rw-r--r--sys/dev/cxgbe/t4_sge.c2
-rw-r--r--sys/dev/cxgbe/t4_vf.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/cxgbe/t4_sge.c b/sys/dev/cxgbe/t4_sge.c
index 8ec93c6..ae09d96 100644
--- a/sys/dev/cxgbe/t4_sge.c
+++ b/sys/dev/cxgbe/t4_sge.c
@@ -593,7 +593,7 @@ t4_tweak_chip_settings(struct adapter *sc)
/*
* 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.
diff --git a/sys/dev/cxgbe/t4_vf.c b/sys/dev/cxgbe/t4_vf.c
index 54a46d1..6fdb4dc 100644
--- a/sys/dev/cxgbe/t4_vf.c
+++ b/sys/dev/cxgbe/t4_vf.c
@@ -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.
*/
OpenPOWER on IntegriCloud