summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files/arch/mips/ath79/nvram.h
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-03-12 12:52:36 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-03-12 12:52:36 +0000
commit10e94b251c43f195616266a9f3d16964057b72ba (patch)
tree842b0676addf3cb96b3cba5613853b61150708bd /target/linux/ar71xx/files/arch/mips/ath79/nvram.h
parent898fe37435e372d8cd852433369989ecfb5bec2f (diff)
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/ar71xx/files/arch/mips/ath79/nvram.h')
0 files changed, 0 insertions, 0 deletions