From: Wolfgang Denk Date: Sat, 10 Sep 2011 00:01:25 +0200 Subject: [U-Boot] [PATCH 6/6] YAFFS2: fs/yaffs2/yaffs_guts.c - fix build warnings In-Reply-To: <1315483822-25399-7-git-send-email-wd@denx.de> References: <1315483822-25399-1-git-send-email-wd@denx.de> <1315483822-25399-7-git-send-email-wd@denx.de> Message-ID: <20110909220125.5122A140876B@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 Wolfgang Denk, In message <1315483822-25399-7-git-send-email-wd@denx.de> you wrote: > Fix these: > yaffs_guts.c: In function 'yaffs_ReadDataFromFile': > yaffs_guts.c:4622: warning: pointer targets in passing argument 3 of 'yaffs_AddrToChunk' differ in signedness > yaffs_guts.c:4622: warning: pointer targets in passing argument 4 of 'yaffs_AddrToChunk' differ in signedness > yaffs_guts.c: In function 'yaffs_WriteDataToFile': > yaffs_guts.c:4745: warning: pointer targets in passing argument 3 of 'yaffs_AddrToChunk' differ in signedness > yaffs_guts.c:4745: warning: pointer targets in passing argument 4 of 'yaffs_AddrToChunk' differ in signedness > yaffs_guts.c: In function 'yaffs_ResizeFile': > yaffs_guts.c:4968: warning: pointer targets in passing argument 3 of 'yaffs_AddrToChunk' differ in signedness > yaffs_guts.c:4968: warning: pointer targets in passing argument 4 of 'yaffs_AddrToChunk' differ in signedness > yaffs_guts.c: In function 'yaffs_GutsInitialise': > yaffs_guts.c:7235: warning: assignment from incompatible pointer type > yaffs_guts.c: In function 'yaffs_CreateNewObject': > yaffs_guts.c:2143: warning: 'tn' may be used uninitialized in this function > yaffs_guts.c: In function 'yaffs_MknodObject': > yaffs_guts.c:2258: warning: 'str' may be used uninitialized in this function > > Signed-off-by: Wolfgang Denk > --- > fs/yaffs2/yaffs_guts.c | 19 ++++++++++--------- > 1 files changed, 10 insertions(+), 9 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 "The combination of a number of things to make existence worthwhile." "Yes, the philosophy of 'none,' meaning 'all.'" -- Spock and Lincoln, "The Savage Curtain", stardate 5906.4