summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorA Raghavendra Rao <raghav3276@gmail.com>2014-08-07 12:40:39 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-08-16 23:23:13 +0400
commit41cb65c4854e14f12b1cbb8215e509d8ad4d0c88 (patch)
treec7c889eaca8aa0955e87dabf2759a37c87bc69c9 /include/linux/debugobjects.h
parent0d0e9d9e777fcfcd50cb45299048e68edcd54ca4 (diff)
downloadlinux-41cb65c4854e14f12b1cbb8215e509d8ad4d0c88.tar.xz
Staging: wlan-ng: fix sparse warning in prism2fw.c
Fix the following sparse warning : In file included from drivers/staging/wlan-ng/prism2usb.c:5:0: drivers/staging/wlan-ng/prism2fw.c: In function ‘read_cardpda.constprop.43’: drivers/staging/wlan-ng/prism2fw.c:792:1: warning: the frame size of 1068 bytes is larger than 1024 bytes [-Wframe-larger-than=] The variable to 'struct p80211msg_p2req_readpda' was previously being created on the stack, which inturn exeeded the frame size limit, resulting in a sparse warning. This patch alloctes the memory to the structure dynamically and the operations are left unchanged. Signed-off-by: A Raghavendra Rao <arrao@cdac.in> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions