]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: rtl8192e: adjust size of RxMIMOSignalStrength
authorMichael Straube <straube.linux@gmail.com>
Sat, 31 Aug 2024 10:08:09 +0000 (12:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Sep 2024 08:31:56 +0000 (10:31 +0200)
commit357c468552f0bbe68e9c9678a82dde6db14e5591
treeac055cbd5b44bbcfaedcf89a2e3fa4f7233045f6
parentad796f708dc3801300e189acd3a393d7cb075811
staging: rtl8192e: adjust size of RxMIMOSignalStrength

The array RxMIMOSignalStrength in struct rtllib_rx_stats is always accessed
with indices in the range i = 0; i < 2. We can reduce the size from 4 to 2.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20240831100809.29173-6-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib.h