From: Nicholas Mc Guire Date: Mon, 2 Mar 2015 09:54:14 +0000 (-0500) Subject: mesh_plink: fixup type of timeout to match usage X-Git-Tag: v4.1-rc1~128^2~105^2~41 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0df2f6c11813a3e522f72f6998b00ae8e17dd4df;p=platform%2Fkernel%2Flinux-exynos.git mesh_plink: fixup type of timeout to match usage timeout was being passed as int but assigned from u32/u16 values and used as unsigned type. This is really only for better readability. Signed-off-by: Nicholas Mc Guire Signed-off-by: Johannes Berg --- diff --git a/net/mac80211/mesh_plink.c b/net/mac80211/mesh_plink.c index 4eefd5d..8465c05 100644 --- a/net/mac80211/mesh_plink.c +++ b/net/mac80211/mesh_plink.c @@ -621,7 +621,7 @@ static void mesh_plink_timer(unsigned long data) sta->llid, sta->plid, reason); } -static inline void mesh_plink_timer_set(struct sta_info *sta, int timeout) +static inline void mesh_plink_timer_set(struct sta_info *sta, u32 timeout) { sta->plink_timer.expires = jiffies + msecs_to_jiffies(timeout); sta->plink_timer.data = (unsigned long) sta;