diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2014-03-12 12:52:36 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2014-03-12 12:52:36 +0000 |
commit | de8375d0199bca4964f173b1835772d75ad34b3c (patch) | |
tree | 842b0676addf3cb96b3cba5613853b61150708bd /target/linux/ixp4xx | |
parent | 6b3c5bee938e8f8bac0237b98a7e7e61a8df30a8 (diff) | |
download | master-187ad058-de8375d0199bca4964f173b1835772d75ad34b3c.tar.gz master-187ad058-de8375d0199bca4964f173b1835772d75ad34b3c.tar.bz2 master-187ad058-de8375d0199bca4964f173b1835772d75ad34b3c.zip |
ar71xx: ar934x_nfc: fix memory initialization bug
sizeof(array_from_function_definition) gives back the size of the pointer.
sizeof(type) * array_size should be used in memset.
Signed-off-by: David Völgyes <david.volgyes@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4950/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39890 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx')
0 files changed, 0 insertions, 0 deletions