Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761587AbZFKBFj (ORCPT ); Wed, 10 Jun 2009 21:05:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755257AbZFKBF2 (ORCPT ); Wed, 10 Jun 2009 21:05:28 -0400 Received: from chilli.pcug.org.au ([203.10.76.44]:39205 "EHLO smtps.tip.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753990AbZFKBF1 (ORCPT ); Wed, 10 Jun 2009 21:05:27 -0400 Date: Thu, 11 Jun 2009 11:05:23 +1000 From: Stephen Rothwell To: Subrata Modak Cc: netdev@vger.kernel.org, Li Yang , Sachin P Sant , Linux-Next , Linux-Kernel , Balbir Singh , Linuxppc-dev Subject: Re: [PATCH] Re:[BUILD FAILURE 04/04] Next June 04:PPC64 randconfig [drivers/net/ucc_geth.o] Message-Id: <20090611110523.1fd56a41.sfr@canb.auug.org.au> In-Reply-To: <20090610174323.28045.70169.sendpatchset@subratamodak.linux.ibm.com> References: <20090610174323.28045.70169.sendpatchset@subratamodak.linux.ibm.com> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.16.1; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Thu__11_Jun_2009_11_05_23_+1000_CLhLW3vWD/LT16B1" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1253 Lines: 38 --Signature=_Thu__11_Jun_2009_11_05_23_+1000_CLhLW3vWD/LT16B1 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Subrata, On Wed, 10 Jun 2009 23:13:23 +0530 Subrata Modak wrote: > > /* Find the TBI PHY. If it's not there, we don't support SGMII */ > - ph =3D of_get_property(np, "tbi-handle", NULL); > + ph =3D (phandle *)of_get_property(np, "tbi-handle", NULL); You don't need this cast because of_get_property() returns "void *". --=20 Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ --Signature=_Thu__11_Jun_2009_11_05_23_+1000_CLhLW3vWD/LT16B1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkowWFMACgkQjjKRsyhoI8w4TQCdFUiVJxuhoNJri0/mjfdAhFy/ Dn4AniZX+xHe8/kuLRQt7+OruyVHTcOv =y6+w -----END PGP SIGNATURE----- --Signature=_Thu__11_Jun_2009_11_05_23_+1000_CLhLW3vWD/LT16B1-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/