From owner-svn-src-all@freebsd.org Tue Aug 25 17:39:04 2015 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8AB4E9C2D6C; Tue, 25 Aug 2015 17:39:04 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7B857797; Tue, 25 Aug 2015 17:39:04 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t7PHd4R1059021; Tue, 25 Aug 2015 17:39:04 GMT (envelope-from cem@FreeBSD.org) Received: (from cem@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t7PHd4VI059018; Tue, 25 Aug 2015 17:39:04 GMT (envelope-from cem@FreeBSD.org) Message-Id: <201508251739.t7PHd4VI059018@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cem set sender to cem@FreeBSD.org using -f From: "Conrad E. Meyer" Date: Tue, 25 Aug 2015 17:39:04 +0000 (UTC) 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 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2015 17:39:04 -0000 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