brcmsmac: don't leak kernel memory via printk()
brcmsmac: don't leak kernel memory via printk()

Debug code prints the fifo name via custom dev_warn() wrappers. The
fifo_names array is only non-zero when debugging is manually enabled,
which is all well and good. However, it's *not* good that this array
uses zero-length arrays in the non-debug case, and so it doesn't
actually have any memory allocated to it. This means that as far as we
know, fifo_names[i] actually points to garbage memory.

I've seen this in my log:

[ 4601.205511] brcmsmac bcma0:1: wl0: brcms_c_d11hdrs_mac80211: �GeL txop exceeded phylen 137/256 dur 1602/1504

So let's give this array space enough to fill it with a NULL byte.

Signed-off-by: Brian Norris <ac73eed4b8a8c9127255a2696c52b2e7503720b8@gmail.com>
Cc: Brett Rudley <26249f5ce9ab482eb9c1d6a038c3361972320fe7@broadcom.com>
Cc: Arend van Spriel <06447fbe43693466d3293d0b5eaeeb2efd3d7d3a@broadcom.com>
Cc: "Franky (Zhenhui) Lin" <c740ae0f5dfc9bd2203ae1a0d3155a31e94c745d@broadcom.com>
Cc: Hante Meuleman <31ca5aa57e9f47a38c33f2797b138069dfa82656@broadcom.com>
Cc: "John W. Linville" <2a53bac7a5d324865ef46ec4c38b2c0fba1456b4@tuxdriver.com>
Cc: f74286e6560323ac86a4fee75575f04dd9aa6ad3@vger.kernel.org
Cc: e322ce12dfd30743c3c637dd92d72384577542ec@broadcom.com
Cc: 1099b3bee480025a15c1b622ecdea77a1d6d7166@vger.kernel.org
Acked-by: Arend van Spriel <06447fbe43693466d3293d0b5eaeeb2efd3d7d3a@broadcom.com>
Signed-off-by: John W. Linville <2a53bac7a5d324865ef46ec4c38b2c0fba1456b4@tuxdriver.com>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs