
23 Sep
2018
23 Sep
'18
4:42 p.m.
On 12.09.18 08:55, Akashi, Takahiro wrote:
From: AKASHI Takahiro takahiro.akashi@linaro.org
The whole content of include/fat.h should be guarded with CONFIG_FS_FAT.
This is necessary specifically because fs/fs.c unconditionally includes fat.h, which refers to a config symbol, CONFIG_FS_FAT_MAX_CLUSTSIZE. So if CONFIG_FS_FAT, and thus CONFIG_FS_FAT_MAX_CLUSTSIZE, is not defined, fs/fs.c will fail to compile.
I don't see that define used anywhere outside of FAT code, so I still don't understand why we need this patch.
Alex