forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 958e46acc8e900e8569dd467c1af9b8d2d019394
kernel/fs/jffs2/summary.h
....@@ -61,7 +61,7 @@
6161 jint32_t ino; /* == zero for unlink */
6262 uint8_t nsize; /* dirent name size */
6363 uint8_t type; /* dirent type */
64
- uint8_t name[0]; /* dirent name */
64
+ uint8_t name[]; /* dirent name */
6565 } __attribute__((packed));
6666
6767 struct jffs2_sum_xattr_flash
....@@ -117,7 +117,7 @@
117117 jint32_t ino; /* == zero for unlink */
118118 uint8_t nsize; /* dirent name size */
119119 uint8_t type; /* dirent type */
120
- uint8_t name[0]; /* dirent name */
120
+ uint8_t name[]; /* dirent name */
121121 } __attribute__((packed));
122122
123123 struct jffs2_sum_xattr_mem