From: Wolfgang Denk Date: Mon, 25 Jul 2011 22:21:46 +0200 Subject: [U-Boot] [PATCH] net: designware: fix uninitialized phy_addr usage In-Reply-To: <1307027978-13418-2-git-send-email-vapier@gentoo.org> References: <1307027978-13418-1-git-send-email-vapier@gentoo.org> <1307027978-13418-2-git-send-email-vapier@gentoo.org> Message-ID: <20110725202146.8622B138EED4@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike Frysinger, In message <1307027978-13418-2-git-send-email-vapier@gentoo.org> you wrote: > When CONFIG_DW_SEARCH_PHY is disabled, the local phy_addr variable never > gets initialized causes random behavior at runtime and a gcc warning. So > set it by default to the stored phy address. > > Signed-off-by: Mike Frysinger > --- > drivers/net/designware.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) Applied (with minimal changes to the commit message which is missing a 'which" or so), thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de I see that Microsoft's campaign to destroy all knowledge of any operating environment but its own environment-of-the-year has succeeded in creating a generation of users who don't understand the concept of a shell... -- L. Peter Deutsch in