From: Wolfgang Denk Date: Tue, 13 Dec 2011 12:03:35 +0100 Subject: [U-Boot] [PATCH] fs/fat/fat.c: fix warning: 'part_size' defined but not used In-Reply-To: <20111213095358.5601b9ce@wker> References: <1319526928-7927-1-git-send-email-dg77.kim@samsung.com> <1319749858-29567-1-git-send-email-wd@denx.de> <201112122215.11610.Aaron.Williams@cavium.com> <20111213081815.CE6A811EF9B4@gemini.denx.de> <20111213095358.5601b9ce@wker> Message-ID: <20111213110335.15DAE183AA3D@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 Anatolij Gustschin, In message <20111213095358.5601b9ce@wker> you wrote: > > The FAT write support as submitted and included seems to be broken. > The removed variable is referenced in fs/fat/fat_write.c, but in > fs/fat/fat.c it is declared as static. This issue didn't show up > because no board config file in mainline defines CONFIG_FAT_WRITE. It's not only that. It appears that this code is also not hooked upo to any command a user could call. At least, I cannot see anything like that in common/cmd_fat.c or so... > @ Donggeun Kim > Could you please submit a patch fixing this? I guess this needs more fixing... 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 "If you own a machine, you are in turn owned by it, and spend your time serving it..." - Marion Zimmer Bradley, _The Forbidden Tower_