Skip to content

clean some FAT code

Richard Genoud u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2FAT: remove ifdefs to make the code more readablefs/fat/fat.c fs/fat/fat_write.c+32 -3412 replies
2/2FAT: use toupper/tolower instead of recoding themfs/fat/fat.c fs/fat/fat_write.c include/fat.h+4 -53 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMarek VasutStefano Babic
1/2
2/2A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/2] clean some FAT code

Hi,

Instead of adding some more ugly #ifdefs, I came with another approach. It makes the code easier to read, and correct the compilation error when VFAT wasn't enabled.

Best regards,

Richard Genoud (2):
FAT: remove ifdefs to make the code more readable
FAT: use toupper/tolower instead of recoding them

 fs/fat/fat.c       |   58 +++++++++++++++++++++++++++------------------------
 fs/fat/fat_write.c |   14 ++++--------
 include/fat.h      |    3 --
 3 files changed, 36 insertions(+), 39 deletions(-)
Signature · 1 line
1.7.2.5