diff options
author | OGAWA Hirofumi | 2007-07-15 23:39:56 -0700 |
---|---|---|
committer | Linus Torvalds | 2007-07-16 09:05:42 -0700 |
commit | 9aacd599342fdfc1fb9422f37e900609b7a46249 (patch) | |
tree | 45c835330122496dfd51b946890ce8580d854173 /lib/devres.c | |
parent | 259902ea951008bcbd31a49f667062ff8012ef55 (diff) |
fat: gcc 4.3 warning fix
This patch fixes the following warnings.
fs/fat/dir.c: In function 'fat_parse_long':
include/linux/msdos_fs.h:294: warning: array subscript is above array bounds
include/linux/msdos_fs.h:295: warning: array subscript is above array bounds
include/linux/msdos_fs.h:295: warning: array subscript is above array bounds
The ->name is defined as "name[8], ext[3]", but fat_checksum() uses
those as name[11]. There is no actual problem, but it's not a good manner.
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions