u-boot/fs
Marek Vasut 6ad77d88e5 vfat: Fix mkcksum argument sizes
In case a function argument is known/fixed size array in C, the argument is
still decoyed as pointer instead ( T f(U n[k]) ~= T fn(U *n) ) and therefore
calling sizeof on the function argument will result in the size of the pointer,
not the size of the array.

The VFAT code contains such a bug, this patch fixes it.

Reported-by: Aaron Williams <Aaron.Williams@cavium.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Tom Rini <tom.rini@gmail.com>
Cc: Aaron Williams <Aaron.Williams@cavium.com>
Tested-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
2013-01-31 14:43:01 -05:00
..
cbfs cbfs: Remove mention of CREDITS files 2012-12-06 13:56:38 -07:00
cramfs gunzip: rename z{alloc, free} to gz{alloc, free} 2012-04-30 16:54:51 +02:00
ext4 fs:ext4:write: Initialize cache aligned filename buffer 2012-12-07 08:47:53 -07:00
fat vfat: Fix mkcksum argument sizes 2013-01-31 14:43:01 -05:00
fdos Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
jffs2 linux/compat.h: rename from linux/mtd/compat.h 2012-04-30 16:54:51 +02:00
reiserfs cmd_reiser: use common get_device_and_partition function 2012-09-25 14:49:18 -07:00
ubifs ARM: prevent misaligned array inits 2012-10-15 11:53:07 -07:00
yaffs2 include/linux/byteorder: import latest endian definitions from linux 2012-11-04 11:00:34 -07:00
zfs fs: zfs: fix illegal use of fp 2012-11-14 13:18:41 +01:00
fs.c fs/fs.c: do_fsload: measure throughput 2012-11-14 13:35:14 +01:00
Makefile fs: add filesystem switch libary, implement ls and fsload commands 2012-10-29 14:21:20 -07:00