[PATCH] fs: fat: eliminate DIRENTSPERBLOCK() macro

Simon Glass sjg at chromium.org
Tue Dec 29 04:32:41 CET 2020


On Fri, 25 Dec 2020 at 07:11, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> The FAT filesystem implementation uses several marcros referring to a magic
> variable name mydata which renders the code less readable. Eliminate one of
> them which is only used for a debug() statement.
>
> Use log_debug() instead of debug().
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> Applicable to origin/next
> ---
>  fs/fat/fat.c  | 5 ++---
>  include/fat.h | 1 -
>  2 files changed, 2 insertions(+), 4 deletions(-)

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


More information about the U-Boot mailing list