"Maciej S. Szmigiero" <[email protected]> writes:

> +#ifdef CONFIG_FAT_DEFAULT_UTF8
> +     opts->utf8 = is_vfat;
> +#else
> +     opts->utf8 = 0;
> +#endif
> +

Maybe, better to use IS_ENABLED(CONFIG_FAT_DEFAULT_UTF8)?

I.e.,

        opts->utf8 = IS_ENABLED(CONFIG_FAT_DEFAULT_UTF8) && is_vfat;

Thanks.
-- 
OGAWA Hirofumi <[email protected]>

Reply via email to