1. 26 1月, 2010 2 次提交
  2. 13 1月, 2010 3 次提交
  3. 06 1月, 2010 1 次提交
    • K
      mac80211: fix a warning related to pointer conversion to u64 cookie · 1990ca61
      Kalle Valo 提交于
      On a 32 bit system (in this case an omap 3430 system) gcc warned about
      pointer conversion:
      
      net/mac80211/work.c: In function 'ieee80211_remain_on_channel_timeout':
      net/mac80211/work.c:534: warning: cast from pointer to integer of different size
      net/mac80211/work.c: In function 'ieee80211_remain_done':
      net/mac80211/work.c:1030: warning: cast from pointer to integer of different size
      net/mac80211/work.c: In function 'ieee80211_wk_remain_on_channel':
      net/mac80211/work.c:1056: warning: cast from pointer to integer of different size
      net/mac80211/work.c: In function 'ieee80211_wk_cancel_remain_on_channel':
      net/mac80211/work.c:1072: warning: cast from pointer to integer of different size
      
      Fix it by casting the pointers to unsigned long instead. This makes the
      compiler happy again.
      
      Compile-tested only.
      
      Cc: Johannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NKalle Valo <kalle.valo@nokia.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      1990ca61
  4. 29 12月, 2009 8 次提交