Thread (4 messages) flat view 4 messages, 2 authors, 2013-01-25

Re: [PATCH 16/19] mac80211: avoid a build warning

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2013-01-25 14:17:45
Also in: linux-wireless, lkml

On Fri, 2013-01-25 at 14:14 +0000, Arnd Bergmann wrote:
gcc cannot prove that the value of sdata->vif.type does not
change between the switch() statement and the second
comparison to NL80211_IFTYPE_AP, causing a harmless
warning.
Slightly reordering the code makes the warning go away
with no functional change.
Thanks!

Applied.

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help