From: Wolfgang Denk Date: Sun, 09 Oct 2011 22:02:21 +0200 Subject: [U-Boot] [PATCH][V3] drivers: add the support for Silicon Image SATA controller In-Reply-To: <3C06C26914DACA4BB3A368F78CA0B3A70EA8F2@039-SN1MPN1-005.039d.mgd.msft.net> References: <1314686076-11776-1-git-send-email-b29983@freescale.com> <20111006214707.4E5171408751@gemini.denx.de> <3C06C26914DACA4BB3A368F78CA0B3A70EA8F2@039-SN1MPN1-005.039d.mgd.msft.net> Message-ID: <20111009200221.9FE2D1408775@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 Tang Yuantian-B29983, In message <3C06C26914DACA4BB3A368F78CA0B3A70EA8F2@039-SN1MPN1-005.039d.mgd.msft.net> you wrote: > > Did you say the following warnings: > --------- > WARNING: Use #include instead of > #79: FILE: drivers/block/sata_sil.c:26: > +#include We should add this to a U-Boot specific ignore list. > WARNING: externs should be avoided in .c files > #90: FILE: drivers/block/sata_sil.c:37: > +extern block_dev_desc_t sata_dev_desc[CONFIG_SYS_SATA_MAX_DEVICE]; This should be fixed. > > The first warning can't be fixed because there is no in uboot. Agreed. > I left the second warning on purpose because other sata drivers do the same way. Well, it would be better to fix the other drivers as well. > I will fix the second warning. 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 It is a human characteristic to love little animals, especially if they're attractive in some way. -- McCoy, "The Trouble with Tribbles", stardate 4525.6