1. 25 6月, 2012 1 次提交
    • J
      mac80211_hwsim: fix smatch/sparse complaints · d0f718c1
      Johannes Berg 提交于
      The code is fine in both cases as-is, but we can
      write it slightly differently to fix smatch/sparse
      complaints:
       * compare the skb pointer (which we use as a cookie)
         by casting the skb to unsigned long rather than the
         cookie to a pointer (fixes "different address spaces")
       * when transmitting, data->channel must be assigned,
         don't check it (fixes "dereferenced before check")
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      d0f718c1
  2. 09 6月, 2012 1 次提交
    • J
      wl18xx: avoid some -Wformat warnings · 934b9d1e
      John W. Linville 提交于
        CC      drivers/net/wireless/ti/wl18xx/main.o
      drivers/net/wireless/ti/wl18xx/main.c: In function ‘wl18xx_conf_init’:
      drivers/net/wireless/ti/wl18xx/main.c:1024:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat]
      drivers/net/wireless/ti/wl18xx/main.c:1024:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ [-Wformat]
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      934b9d1e
  3. 08 6月, 2012 14 次提交
  4. 07 6月, 2012 24 次提交