]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: explicitly check enum nl80211_mesh_power_mode
authorJohannes Berg <johannes.berg@intel.com>
Thu, 11 Aug 2016 12:59:53 +0000 (14:59 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 11 Aug 2016 18:00:37 +0000 (20:00 +0200)
commitd124a5f8d774f248c22d855f187e65811504804c
tree16ea14e36fcb0bb4058906241ae72140fc1fb3d6
parent4a0865a8b2149367d79a552d0aa99b6a69bb547d
nl80211: explicitly check enum nl80211_mesh_power_mode

Different gcc versions appear to be treating enum with different
signedness, causing warnings with the out parameter one way or
the other.

Just use the correct type to avoid all that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c