[U-Boot] [PATCH v3 9/9] fs/fat: Clean up open-coded sector <-> cluster conversions

Simon Glass sjg at chromium.org
Tue Sep 12 12:29:24 UTC 2017


On 9 September 2017 at 11:16, Rob Clark <robdclark at gmail.com> wrote:
> Use the clust_to_sect() helper that was introduced earlier, and add an
> inverse sect_to_clust(), plus update the various spots that open-coded
> this conversion previously.
>
> Signed-off-by: Rob Clark <robdclark at gmail.com>
> ---
>  fs/fat/fat.c       | 8 +++-----
>  fs/fat/fat_write.c | 8 +++-----
>  include/fat.h      | 6 +++++-
>  3 files changed, 11 insertions(+), 11 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list