summaryrefslogtreecommitdiff
path: root/net/mac80211/iface.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-01-09 08:41:48 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2010-01-11 22:26:46 (GMT)
commit39825f4dc9f4e409e8ea43ef4df04a924699ad1f (patch)
tree9e051be0109261b5bda453f5305e7bf44dd17ae1 /net/mac80211/iface.c
parentc91c3efca5297bd67324654524ced38162f2e579 (diff)
downloadlinux-39825f4dc9f4e409e8ea43ef4df04a924699ad1f.tar.xz
iwlwifi: silence buffer overflow warning
Smatch (and presumably other static checkers) complain that MAX_TID_COUNT is past the end of the array. In the resulting discussion, Zhu Yi pointed out that this value is not used in real life and the assignment was only there to silence a gcc warning. If there were a bug in the surrounding code and the value were used, the WARN_ON(!qc) would print a warning before the crash. Signed-off-by: Dan Carpenter <error27@gmail.com> Acked-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/iface.c')
0 files changed, 0 insertions, 0 deletions