From owner-svn-src-all@freebsd.org Wed Jan 18 02:16:19 2017 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 EFDEFCB4CFF; Wed, 18 Jan 2017 02:16:19 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 BF23319E8; Wed, 18 Jan 2017 02:16:19 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0I2GIRl072010; Wed, 18 Jan 2017 02:16:18 GMT (envelope-from yongari@FreeBSD.org) Received: (from yongari@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0I2GIKd072003; Wed, 18 Jan 2017 02:16:18 GMT (envelope-from yongari@FreeBSD.org) Message-Id: <201701180216.v0I2GIKd072003@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yongari set sender to yongari@FreeBSD.org using -f From: Pyun YongHyeon Date: Wed, 18 Jan 2017 02:16:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r312362 - in stable/10/sys/dev: age alc ale jme msk stge vte X-SVN-Group: stable-10 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.23 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: Wed, 18 Jan 2017 02:16:20 -0000 Author: yongari Date: Wed Jan 18 02:16:17 2017 New Revision: 312362 URL: https://svnweb.freebsd.org/changeset/base/312362 Log: MFC r295735: Fix variable assignment. Modified: stable/10/sys/dev/age/if_age.c stable/10/sys/dev/alc/if_alc.c stable/10/sys/dev/ale/if_ale.c stable/10/sys/dev/jme/if_jme.c stable/10/sys/dev/msk/if_msk.c stable/10/sys/dev/stge/if_stge.c stable/10/sys/dev/vte/if_vte.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/age/if_age.c ============================================================================== --- stable/10/sys/dev/age/if_age.c Wed Jan 18 01:58:33 2017 (r312361) +++ stable/10/sys/dev/age/if_age.c Wed Jan 18 02:16:17 2017 (r312362) @@ -587,7 +587,7 @@ age_attach(device_t dev) /* Create device sysctl node. */ age_sysctl_node(sc); - if ((error = age_dma_alloc(sc) != 0)) + if ((error = age_dma_alloc(sc)) != 0) goto fail; /* Load station address. */ Modified: stable/10/sys/dev/alc/if_alc.c ============================================================================== --- stable/10/sys/dev/alc/if_alc.c Wed Jan 18 01:58:33 2017 (r312361) +++ stable/10/sys/dev/alc/if_alc.c Wed Jan 18 02:16:17 2017 (r312362) @@ -1543,7 +1543,7 @@ alc_attach(device_t dev) /* Create device sysctl node. */ alc_sysctl_node(sc); - if ((error = alc_dma_alloc(sc) != 0)) + if ((error = alc_dma_alloc(sc)) != 0) goto fail; /* Load station address. */ Modified: stable/10/sys/dev/ale/if_ale.c ============================================================================== --- stable/10/sys/dev/ale/if_ale.c Wed Jan 18 01:58:33 2017 (r312361) +++ stable/10/sys/dev/ale/if_ale.c Wed Jan 18 02:16:17 2017 (r312362) @@ -602,7 +602,7 @@ ale_attach(device_t dev) /* Create device sysctl node. */ ale_sysctl_node(sc); - if ((error = ale_dma_alloc(sc) != 0)) + if ((error = ale_dma_alloc(sc)) != 0) goto fail; /* Load station address. */ Modified: stable/10/sys/dev/jme/if_jme.c ============================================================================== --- stable/10/sys/dev/jme/if_jme.c Wed Jan 18 01:58:33 2017 (r312361) +++ stable/10/sys/dev/jme/if_jme.c Wed Jan 18 02:16:17 2017 (r312362) @@ -803,7 +803,7 @@ jme_attach(device_t dev) } /* Create coalescing sysctl node. */ jme_sysctl_node(sc); - if ((error = jme_dma_alloc(sc) != 0)) + if ((error = jme_dma_alloc(sc)) != 0) goto fail; ifp = sc->jme_ifp = if_alloc(IFT_ETHER); Modified: stable/10/sys/dev/msk/if_msk.c ============================================================================== --- stable/10/sys/dev/msk/if_msk.c Wed Jan 18 01:58:33 2017 (r312361) +++ stable/10/sys/dev/msk/if_msk.c Wed Jan 18 02:16:17 2017 (r312362) @@ -1626,7 +1626,7 @@ msk_attach(device_t dev) callout_init_mtx(&sc_if->msk_tick_ch, &sc_if->msk_softc->msk_mtx, 0); msk_sysctl_node(sc_if); - if ((error = msk_txrx_dma_alloc(sc_if) != 0)) + if ((error = msk_txrx_dma_alloc(sc_if)) != 0) goto fail; msk_rx_dma_jalloc(sc_if); Modified: stable/10/sys/dev/stge/if_stge.c ============================================================================== --- stable/10/sys/dev/stge/if_stge.c Wed Jan 18 01:58:33 2017 (r312361) +++ stable/10/sys/dev/stge/if_stge.c Wed Jan 18 02:16:17 2017 (r312362) @@ -507,7 +507,7 @@ stge_attach(device_t dev) } } - if ((error = stge_dma_alloc(sc) != 0)) + if ((error = stge_dma_alloc(sc)) != 0) goto fail; /* Modified: stable/10/sys/dev/vte/if_vte.c ============================================================================== --- stable/10/sys/dev/vte/if_vte.c Wed Jan 18 01:58:33 2017 (r312361) +++ stable/10/sys/dev/vte/if_vte.c Wed Jan 18 02:16:17 2017 (r312362) @@ -426,7 +426,7 @@ vte_attach(device_t dev) /* Reset the ethernet controller. */ vte_reset(sc); - if ((error = vte_dma_alloc(sc) != 0)) + if ((error = vte_dma_alloc(sc)) != 0) goto fail; /* Create device sysctl node. */