aboutsummaryrefslogtreecommitdiff
path: root/drivers/sound
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2013-01-11 03:35:48 +0000
committerTom Rini <trini@ti.com>2013-01-31 14:46:43 -0500
commitbc8f446c17fe394a085cf6dd1c04ffac869de2b9 (patch)
treebdfaa6d089709870f2286b4ae6099c28201d7f3e /drivers/sound
parentad394e027f32eb76f74bc4133446ae2e2b82dbfe (diff)
downloadu-boot-linaro-stable-bc8f446c17fe394a085cf6dd1c04ffac869de2b9.tar.gz
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>
Diffstat (limited to 'drivers/sound')
0 files changed, 0 insertions, 0 deletions