Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 2015 17:39:04 +0000 (UTC)
From:      "Conrad E. Meyer" <cem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r287138 - in head: sys/dev/ioat tools/tools/ioat
Message-ID:  <201508251739.t7PHd4VI059018@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cem
Date: Tue Aug 25 17:39:03 2015
New Revision: 287138
URL: https://svnweb.freebsd.org/changeset/base/287138

Log:
  ioat(4): Minor style cleanups
  
  Suggested by:	ngie
  Reviewed by:	jimharris
  Approved by:	markj (mentor)
  Sponsored by:	EMC / Isilon Storage Division
  Differential Revision:	https://reviews.freebsd.org/D3481

Modified:
  head/sys/dev/ioat/ioat.c
  head/tools/tools/ioat/Makefile

Modified: head/sys/dev/ioat/ioat.c
==============================================================================
--- head/sys/dev/ioat/ioat.c	Tue Aug 25 17:11:49 2015	(r287137)
+++ head/sys/dev/ioat/ioat.c	Tue Aug 25 17:39:03 2015	(r287138)
@@ -798,7 +798,7 @@ resize_ring(struct ioat_softc *ioat, int
 			new_idx = (ioat->tail + i) & (new_size - 1);
 
 			ring[new_idx] = ioat_alloc_ring_entry(ioat);
-			if (!ring[new_idx]) {
+			if (ring[new_idx] == NULL) {
 				while (i--) {
 					new_idx2 = (ioat->tail + i) &
 					    (new_size - 1);

Modified: head/tools/tools/ioat/Makefile
==============================================================================
--- head/tools/tools/ioat/Makefile	Tue Aug 25 17:11:49 2015	(r287137)
+++ head/tools/tools/ioat/Makefile	Tue Aug 25 17:39:03 2015	(r287138)
@@ -1,7 +1,6 @@
 # $FreeBSD$
 
 PROG=	ioatcontrol
-SRCS=	ioatcontrol.c
 MAN=	ioatcontrol.8
 CFLAGS+=	-I${.CURDIR:H:H:H}/sys/dev/ioat
 WARNS?=	6



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