Date: Tue, 7 Feb 2012 02:21:47 +0000 (UTC) From: Navdeep Parhar <np@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r231105 - stable/8/sys/dev/cxgb/common Message-ID: <201202070221.q172Llqu064096@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: np Date: Tue Feb 7 02:21:46 2012 New Revision: 231105 URL: http://svn.freebsd.org/changeset/base/231105 Log: MFC r228825: Fix return value of function. Modified: stable/8/sys/dev/cxgb/common/cxgb_aq100x.c Directory Properties: stable/8/sys/ (props changed) Modified: stable/8/sys/dev/cxgb/common/cxgb_aq100x.c ============================================================================== --- stable/8/sys/dev/cxgb/common/cxgb_aq100x.c Tue Feb 7 02:21:17 2012 (r231104) +++ stable/8/sys/dev/cxgb/common/cxgb_aq100x.c Tue Feb 7 02:21:46 2012 (r231105) @@ -232,7 +232,7 @@ aq100x_power_down(struct cphy *phy, int err = t3_mdio_change_bits(phy, MDIO_DEV_PMA_PMD, MII_BMCR, BMCR_PDOWN, off ? BMCR_PDOWN : 0); if (err || off) - return (v); + return (err); msleep(300); do {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202070221.q172Llqu064096>