fs/fat: Don't warn about the CONFIG_FAT_MAXFNAME being too large if long file name support is not implemented.
This commit is contained in:
parent
0e6e05bf11
commit
f96478bb99
|
@ -230,7 +230,9 @@
|
||||||
/* Sizes and limits */
|
/* Sizes and limits */
|
||||||
|
|
||||||
# if CONFIG_FAT_MAXFNAME > CONFIG_NAME_MAX
|
# if CONFIG_FAT_MAXFNAME > CONFIG_NAME_MAX
|
||||||
# warning CONFIG_FAT_MAXFNAME may not exceed NAME_MAX (CONFIG_NAME_MAX)
|
# ifdef CONFIG_FAT_LFN
|
||||||
|
# warning CONFIG_FAT_MAXFNAME may not exceed NAME_MAX (CONFIG_NAME_MAX)
|
||||||
|
# endif
|
||||||
# undef CONFIG_FAT_MAXFNAME
|
# undef CONFIG_FAT_MAXFNAME
|
||||||
# define CONFIG_FAT_MAXFNAME CONFIG_NAME_MAX
|
# define CONFIG_FAT_MAXFNAME CONFIG_NAME_MAX
|
||||||
# endif
|
# endif
|
||||||
|
|
Loading…
Reference in New Issue