Messages in this thread | | | From | OGAWA Hirofumi <> | Subject | Re: [PATCH] fat: add config option to set UTF-8 mount option by default | Date | Tue, 08 Mar 2016 15:21:21 +0900 |
| |
"Maciej S. Szmigiero" <mail@maciej.szmigiero.name> 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 <hirofumi@mail.parknet.co.jp>
| |