From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 27 Oct 2011 23:59:31 +0200 Subject: [U-Boot] [PATCH 03/18] GCC4.6: Squash warning in jedec_flash.c In-Reply-To: <1319535604-20831-4-git-send-email-marek.vasut@gmail.com> References: <1319535604-20831-1-git-send-email-marek.vasut@gmail.com> <1319535604-20831-4-git-send-email-marek.vasut@gmail.com> Message-ID: <20111027215931.CD86012B7BBC@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 Marek Vasut, In message <1319535604-20831-4-git-send-email-marek.vasut@gmail.com> you wrote: > jedec_flash.c: In function 'fill_info': > jedec_flash.c:393: warning: format '%x' expects type 'unsigned int', but > argument 2 has type 'ulong' > jedec_flash.c:393: warning: format '%x' expects type 'unsigned int', but > argument 3 has type 'ulong' > jedec_flash.c:402: warning: format '%d' expects type 'int', but argument 2 has > type 'ulong' > jedec_flash.c:402: warning: format '%d' expects type 'int', but argument 3 has > type 'ulong' > > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk > Cc: Simon Glass > Cc: Mike Frysinger > Cc: Scott Wood > --- > drivers/mtd/jedec_flash.c | 5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) Applied, 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 8) Use common sense in routing cable. Avoid wrapping coax around sources of strong electric or magnetic fields. Do not wrap the cable around flourescent light ballasts or cyclotrons, for example. - Ethernet Headstart Product, Information and Installation Guide, Bell Technologies, pg. 11