]> git.karo-electronics.de Git - linux-beck.git/commit
staging: rtl8192u: fix large frame size compiler warning
authorOkash Khawaja <okash.khawaja@gmail.com>
Thu, 17 Dec 2015 20:30:38 +0000 (20:30 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 03:56:45 +0000 (19:56 -0800)
commit79a5ccd97209264630a8ff4277089746124f130c
tree527e242ca26ad29900c9c25340ecac6bb4397a9f
parent64b389c53ce2e4b72f16020b624c0fb2da3a0a9d
staging: rtl8192u: fix large frame size compiler warning

This patch fixes following compiler warning:

drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c: In function
‘RxReorderIndicatePacket’:
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c:758:1: warning: the
frame size of 1064 bytes is larger than 1024 bytes
[-Wframe-larger-than=]

It replaces the statically allocated array prxbIndicateArray with
a kmalloc'd one.

Signed-off-by: Okash Khawaja <okash.khawaja@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c