]> git.baikalelectronics.ru Git - kernel.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)
commit0b3a960164be3e0435a30f6182cd60fb25613df6
tree527e242ca26ad29900c9c25340ecac6bb4397a9f
parentc3b42568be3383e7c2d69f8a19c89c3f074cceb2
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