From: Wolfgang Denk Date: Fri, 16 Dec 2011 21:04:51 +0100 Subject: [U-Boot] [PATCH] FAT: fix complie error when enabling FAT write In-Reply-To: <1323851092-821-1-git-send-email-dg77.kim@samsung.com> References: <1323851092-821-1-git-send-email-dg77.kim@samsung.com> Message-ID: <20111216200451.C733A138EEED@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 Donggeun Kim, In message <1323851092-821-1-git-send-email-dg77.kim@samsung.com> you wrote: > By removing variable of 'part_size' in fs/fat.c, > compile error occurs when enabling FAT write feature. > The variable should be declared only when CONFIG_FAT_WRITE is defined. > This patch removes compile error when FAT write is enabled and > compile warning when FAT write is disabled. > > Signed-off-by: Donggeun Kim > Signed-off-by: Kyungmin Park > --- > fs/fat/fat.c | 7 +++++++ > 1 files changed, 7 insertions(+), 0 deletions(-) Please squash this into the patch that adds the fatwrite feature. 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 Einstein argued that there must be simplified explanations of nature, because God is not capricious or arbitrary. No such faith comforts the software engineer. - Fred Brooks, Jr.