1. 13 Aug, 2015 7 commits
    • Larry Finger's avatar
      rtlwifi: rtl8192ce: rtl8192cu: Fix endian issue · e41c5135
      Larry Finger authored
      Commit e996db69 (rtlwifi: rtl8192c: Add init codes for "fw_version"
      and "fw_subversion") added initialization for fw_version, but failed to
      note that the variable in the firmware header is little-endian. The
      following Sparse warning results:
      
        CHECK   drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c
      drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c:242:36: warning: incorrect type in assignment (different base types)
      drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c:242:36:    expected unsigned short [unsigned] [usertype] fw_version
      drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c:242:36:    got restricted __le16 [usertype] version
      
      When fixing this problem, I noticed that several of the drivers contain
      nearly identical copies of the firmware header struct, and that only the one
      used in rtl8192c{e,u} had correct endian notation. The struct has been
      moved into a common header, and the other drivers will be fixed in
      subsequant patches.
      Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      e41c5135
    • Vineet Gupta's avatar
      brcmfmac: dhd_sdio.c: use existing atomic_or primitive · d3928d09
      Vineet Gupta authored
      There's already a generic implementation so use that instead.
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      d3928d09
    • Nicholas Mc Guire's avatar
      ath9k: match wait_for_completion_timeout return type · ab63cb8b
      Nicholas Mc Guire authored
      Return type of wait_for_completion_timeout is unsigned long not int.
      As time_left is exclusively used for wait_for_completion_timeout here its
      type is simply changed to unsigned long.
      
      API conformance testing for completions with coccinelle spatches are being
      used to locate API usage inconsistencies:
      ./drivers/net/wireless/ath/ath9k/link.c:197
              int return assigned to unsigned long
      
      Patch was compile tested with x86_64_defconfig + CONFIG_ATH_CARDS=m,
      
      Patch is against 4.1-rc3 (localversion-next is -next-20150514)
      Signed-off-by: default avatarNicholas Mc Guire <hofrat@osadl.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      ab63cb8b
    • Nicholas Mc Guire's avatar
      ath9k_htc: wmi: match wait_for_completion_timeout return type · 61fc3920
      Nicholas Mc Guire authored
      Return type of wait_for_completion_timeout is unsigned long not int.
      As time_left is exclusively used for wait_for_completion_timeout here its
      type is simply changed to unsigned long.
      
      API conformance testing for completions with coccinelle spatches are being
      used to locate API usage inconsistencies:
      ./drivers/net/wireless/ath/ath9k/wmi.c:331
      	int return assigned to unsigned long
      
      Patch was compile tested with x86_64_defconfig + CONFIG_ATH_CARDS=m,
      CONFIG_ATH9K_HTC=m
      
      Patch is against 4.1-rc3 (localversion-next is -next-20150514)
      Signed-off-by: default avatarNicholas Mc Guire <hofrat@osadl.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      61fc3920
    • Nicholas Mc Guire's avatar
      ath9k_htc: drv_init: match wait_for_completion_timeout return type · 70a56550
      Nicholas Mc Guire authored
      Return type of wait_for_completion_timeout is unsigned long not int.
      As time_left is exclusively used for wait_for_completion_timeout here its
      type is simply changed to unsigned long.
      
      API conformance testing for completions with coccinelle spatches are being
      used to locate API usage inconsistencies:
      ./drivers/net/wireless/ath/ath9k/htc_drv_init.c:81
      	int return assigned to unsigned long
      
      Patch was compile tested with x86_64_defconfig + CONFIG_ATH_CARDS=m,
      CONFIG_ATH9K_HTC=m
      
      Patch is against 4.1-rc3 (localversion-next is -next-20150514)
      Signed-off-by: default avatarNicholas Mc Guire <hofrat@osadl.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      70a56550
    • Nicholas Mc Guire's avatar
      ath9k_htc: match wait_for_completion_timeout return type · 34edd5f6
      Nicholas Mc Guire authored
      Return type of wait_for_completion_timeout is unsigned long not int.
      As time_left is exclusively used for wait_for_completion_timeout here its
      type is simply changed to unsigned long.
      
      API conformance testing for completions with coccinelle spatches are being
      used to locate API usage inconsistencies:
      ./drivers/net/wireless/ath/ath9k/htc_hst.c:171
      	int return assigned to unsigned long
      ./drivers/net/wireless/ath/ath9k/htc_hst.c:277
      	int return assigned to unsigned long
      ./drivers/net/wireless/ath/ath9k/htc_hst.c:206
      	int return assigned to unsigned long
      
      Patch was compile tested with x86_64_defconfig + CONFIG_ATH_CARDS=m,
      CONFIG_ATH9K_HTC=m
      
      Patch is against 4.1-rc3 (localversion-next is -next-20150514)
      Signed-off-by: default avatarNicholas Mc Guire <hofrat@osadl.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      34edd5f6
    • Cheolhyun Park's avatar
      d07cb049
  2. 10 Aug, 2015 11 commits
  3. 07 Aug, 2015 1 commit
  4. 06 Aug, 2015 20 commits
  5. 05 Aug, 2015 1 commit
    • David S. Miller's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next · 9dc20a64
      David S. Miller authored
      Pablo Neira Ayuso says:
      
      ====================
      Netfilter updates for net-next
      
      The following patchset contains Netfilter updates for net-next, they are:
      
      1) A couple of cleanups for the netfilter core hook from Eric Biederman.
      
      2) Net namespace hook registration, also from Eric. This adds a dependency with
         the rtnl_lock. This should be fine by now but we have to keep an eye on this
         because if we ever get the per-subsys nfnl_lock before rtnl we have may
         problems in the future. But we have room to remove this in the future by
         propagating the complexity to the clients, by registering hooks for the init
         netns functions.
      
      3) Update nf_tables to use the new net namespace hook infrastructure, also from
         Eric.
      
      4) Three patches to refine and to address problems from the new net namespace
         hook infrastructure.
      
      5) Switch to alternate jumpstack in xtables iff the packet is reentering. This
         only applies to a very special case, the TEE target, but Eric Dumazet
         reports that this is slowing down things for everyone else. So let's only
         switch to the alternate jumpstack if the tee target is in used through a
         static key. This batch also comes with offline precalculation of the
         jumpstack based on the callchain depth. From Florian Westphal.
      
      6) Minimal SCTP multihoming support for our conntrack helper, from Michal
         Kubecek.
      
      7) Reduce nf_bridge_info per skbuff scratchpad area to 32 bytes, from Florian
         Westphal.
      
      8) Fix several checkpatch errors in bridge netfilter, from Bernhard Thaler.
      
      9) Get rid of useless debug message in ip6t_REJECT, from Subash Abhinov.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9dc20a64