mac80211: make ieee80211_new_mesh_header return unsigned
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 25 Sep 2015 06:42:00 +0000 (08:42 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 5 Oct 2015 15:54:16 +0000 (17:54 +0200)
commit5edfcee5ed73eb9537987c4ddb6bf062b6943b73
treecffa5dcafdd456dd642107f3407c86a5907984f9
parent076cdcb12f784b2057f172b5caca641fafa67cdf
mac80211: make ieee80211_new_mesh_header return unsigned

The function returns always non-negative values.

The problem has been detected using proposed semantic patch
scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1].

[1]: http://permalink.gmane.org/gmane.linux.kernel/2046107

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh.c
net/mac80211/mesh.h