
Dear Donggeun Kim,
In message 1324431247-17998-1-git-send-email-dg77.kim@samsung.com you wrote:
Once CONFIG_FAT_WRITE is defined, users can invoke 'fatwrite' command that saves data in RAM as a FAT file.
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 also removes compile error when FAT write is enabled and compile warning when FAT write is disabled.
Signed-off-by: Donggeun Kim dg77.kim@samsung.com Signed-off-by: Kyungmin Park kyungmin.park@samsung.com
Changes for v3:
- use cmd_usage function
Changes for v2:
- merge the patch that fixes compile error when enabling FAT write
- change do_fat_fswrite to be static function
common/cmd_fat.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ fs/fat/fat.c | 7 ++++++ 2 files changed, 64 insertions(+), 0 deletions(-)
This does not apply any more, please rebase against current master and resubmit.
Sorry.
Best regards,
Wolfgang Denk