kernel-aes67/fs/fat
Andrew Morton 73f20e58b1 FAT_VALID_MEDIA(): remove pointless test
The on-disk media specification field in FAT is only 8-bits, so testing for
<=0xff is pointless, and can generate a "comparison is always true due to
limited range of data type" warning.

While we're there, convert FAT_VALID_MEDIA() into a C function - the present
implementation is buggy: it generates either one or two references to its
argument.

Cc: Frank Seidel <fseidel@suse.de>
Acked-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>
2008-04-28 08:58:47 -07:00
..
cache.c Slab API: remove useless ctor parameter and reorder parameters 2007-10-17 08:42:45 -07:00
dir.c fat: use __getname() 2008-04-28 08:58:47 -07:00
fatent.c fat: Remove fat_clusters_flush() 2008-04-28 08:58:47 -07:00
file.c fat: Add allow_utime option 2008-04-28 08:58:47 -07:00
inode.c FAT_VALID_MEDIA(): remove pointless test 2008-04-28 08:58:47 -07:00
Makefile
misc.c FAT: Fix printk format strings 2008-02-06 10:41:02 -08:00