[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20121001135829.7da3ee1b81d2dae0c8c393e7@canb.auug.org.au>
Date: Mon, 1 Oct 2012 13:58:29 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Ralf Baechle <ralf@...ux-mips.org>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Wei Yongjun <yongjun_wei@...ndmicro.com.cn>,
"David S. Miller" <davem@...emloft.net>,
David Daney <david.daney@...ium.com>
Subject: linux-next: manual merge of the mips tree with Linus' tree
Hi Ralf,
Today's linux-next merge of the mips tree got a conflict in
drivers/net/ethernet/octeon/octeon_mgmt.c between commit df555b665367
("netdev: octeon: fix return value check in octeon_mgmt_init_phy()") from
Linus' tree and commit eeae05aa2169 ("netdev: octeon_mgmt: Add support
for 1Gig ports") from the mips tree.
I fixed it up (see below) and can carry the fix as necessary (no action
is required).
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
diff --cc drivers/net/ethernet/octeon/octeon_mgmt.c
index a688a2d,5be431c..0000000
--- a/drivers/net/ethernet/octeon/octeon_mgmt.c
+++ b/drivers/net/ethernet/octeon/octeon_mgmt.c
@@@ -722,10 -973,8 +973,8 @@@ static int octeon_mgmt_init_phy(struct
octeon_mgmt_adjust_link, 0,
PHY_INTERFACE_MODE_MII);
- if (p->phydev == NULL)
+ if (!p->phydev)
- return -1;
-
- phy_start_aneg(p->phydev);
+ return -ENODEV;
return 0;
}
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists