1. 27 10月, 2017 13 次提交
    • B
      ath10k: fix build errors with !CONFIG_PM · 20665a90
      Brian Norris 提交于
      Build errors have been reported with CONFIG_PM=n:
      
      drivers/net/wireless/ath/ath10k/pci.c:3416:8: error: implicit
      declaration of function 'ath10k_pci_suspend'
      [-Werror=implicit-function-declaration]
      
      drivers/net/wireless/ath/ath10k/pci.c:3428:8: error: implicit
      declaration of function 'ath10k_pci_resume'
      [-Werror=implicit-function-declaration]
      
      These are caused by the combination of the following two commits:
      
      6af1de2e ("ath10k: mark PM functions as __maybe_unused")
      96378bd2 ("ath10k: fix core PCI suspend when WoWLAN is supported but
      disabled")
      
      Both build fine on their own.
      
      But now that ath10k_pci_pm_{suspend,resume}() is compiled
      unconditionally, we should also compile ath10k_pci_{suspend,resume}()
      unconditionally.
      
      And drop the #ifdef around ath10k_pci_hif_{suspend,resume}() too; they
      are trivial (empty), so we're not saving much space by compiling them
      out. And the alternatives would be to sprinkle more __maybe_unused, or
      spread the #ifdef's further.
      
      Build tested with the following combinations:
      CONFIG_PM=y && CONFIG_PM_SLEEP=y
      CONFIG_PM=y && CONFIG_PM_SLEEP=n
      CONFIG_PM=n
      
      Fixes: 96378bd2 ("ath10k: fix core PCI suspend when WoWLAN is supported but disabled")
      Fixes: 096ad2a15fd8 ("Merge branch 'ath-next'")
      Signed-off-by: NBrian Norris <briannorris@chromium.org>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      20665a90
    • P
      rtlwifi: Remove seq_number from rtl_tid_data · 1d1aa8f1
      Ping-Ke Shih 提交于
      Since mac80211 maintains the sequence number for each STA/TID,
      driver doesn't need to maintain a copy.
      Signed-off-by: NPing-Ke Shih <pkshih@realtek.com>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      1d1aa8f1
    • N
      rtlwifi: rtl8821ae: Fix typo in variable name · 62689167
      Nik Nyby 提交于
      In _rtl8821ae_dbi_write(), wrtie_addr should be write_addr.
      Signed-off-by: NNik Nyby <nikolas@gnu.org>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      62689167
    • A
      brcmsmac: reindent split functions · ad1987d6
      Arnd Bergmann 提交于
      In the previous commit I left the indentation alone to help reviewing
      the patch, this one now runs the three new functions through 'indent -kr -8'
      with some manual fixups to avoid silliness.
      
      No changes other than whitespace are intended here.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NArend van Spriel <arend.vanspriel@broadcom.com>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      ad1987d6
    • A
      brcmsmac: split up wlc_phy_workarounds_nphy · 0425f079
      Arnd Bergmann 提交于
      The stack consumption in this driver is still relatively high, with one
      remaining warning if the warning level is lowered to 1536 bytes:
      
      drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c:17135:1: error: the frame size of 1880 bytes is larger than 1536 bytes [-Werror=frame-larger-than=]
      
      The affected function is actually a collection of three separate implementations,
      and each of them is fairly large by itself. Splitting them up is done easily
      and improves readability at the same time.
      
      I'm leaving the original indentation to make the review easier.
      Acked-by: NArend van Spriel <arend.vanspriel@broadcom.com>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      0425f079
    • K
      libertas: Convert timers to use timer_setup() · 78ce6a90
      Kees Cook 提交于
      In preparation for unconditionally passing the struct timer_list pointer to
      all timer callbacks, switch to using the new timer_setup() and from_timer()
      to pass the timer pointer explicitly.
      
      Cc: Kalle Valo <kvalo@codeaurora.org>
      Cc: Arvind Yadav <arvind.yadav.cs@gmail.com>
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: Johannes Berg <johannes.berg@intel.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Andrew Zaborowski <andrew.zaborowski@intel.com>
      Cc: libertas-dev@lists.infradead.org
      Cc: linux-wireless@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Signed-off-by: NKees Cook <keescook@chromium.org>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      78ce6a90
    • K
      mwifiex: Convert timers to use timer_setup() · 08c2eb8e
      Kees Cook 提交于
      In preparation for unconditionally passing the struct timer_list pointer to
      all timer callbacks, switch to using the new timer_setup() and from_timer()
      to pass the timer pointer explicitly.
      
      Cc: Kalle Valo <kvalo@codeaurora.org>
      Cc: Amitkumar Karwar <amitkarwar@gmail.com>
      Cc: Nishant Sarmukadam <nishants@marvell.com>
      Cc: Ganapathi Bhat <gbhat@marvell.com>
      Cc: Xinming Hu <huxm@marvell.com>
      Cc: Arvind Yadav <arvind.yadav.cs@gmail.com>
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: Johannes Berg <johannes.berg@intel.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Andrew Zaborowski <andrew.zaborowski@intel.com>
      Cc: libertas-dev@lists.infradead.org
      Cc: linux-wireless@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Signed-off-by: NKees Cook <keescook@chromium.org>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      08c2eb8e
    • K
      drivers/wireless: rsi: Convert timers to use timer_setup() · dfefb9f8
      Kees Cook 提交于
      In preparation for unconditionally passing the struct timer_list pointer to
      all timer callbacks, switch to using the new timer_setup() and from_timer()
      to pass the timer pointer explicitly.
      
      Cc: Kalle Valo <kvalo@codeaurora.org>
      Cc: Amitkumar Karwar <amit.karwar@redpinesignals.com>
      Cc: Prameela Rani Garnepudi <prameela.j04cs@gmail.com>
      Cc: Pavani Muthyala <pavani.muthyala@redpinesignals.com>
      Cc: Karun Eagalapati <karun256@gmail.com>
      Cc: linux-wireless@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Signed-off-by: NKees Cook <keescook@chromium.org>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      dfefb9f8
    • K
      cw1200: Convert timers to use timer_setup() · e3dcf8bb
      Kees Cook 提交于
      In preparation for unconditionally passing the struct timer_list pointer to
      all timer callbacks, switch to using the new timer_setup() and from_timer()
      to pass the timer pointer explicitly.
      
      Cc: Solomon Peachy <pizza@shaftnet.org>
      Cc: Kalle Valo <kvalo@codeaurora.org>
      Cc: linux-wireless@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Signed-off-by: NKees Cook <keescook@chromium.org>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      e3dcf8bb
    • K
      atmel: Convert timers to use timer_setup() · 3e79202b
      Kees Cook 提交于
      In preparation for unconditionally passing the struct timer_list pointer to
      all timer callbacks, switch to using the new timer_setup() and from_timer()
      to pass the timer pointer explicitly.
      
      Cc: Simon Kelley <simon@thekelleys.org.uk>
      Cc: Kalle Valo <kvalo@codeaurora.org>
      Cc: linux-wireless@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Signed-off-by: NKees Cook <keescook@chromium.org>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      3e79202b
    • K
      iwlegacy: Convert timers to use timer_setup() · 2b77839b
      Kees Cook 提交于
      In preparation for unconditionally passing the struct timer_list pointer to
      all timer callbacks, switch to using the new timer_setup() and from_timer()
      to pass the timer pointer explicitly.
      
      Cc: Kalle Valo <kvalo@codeaurora.org>
      Cc: Stanislaw Gruszka <sgruszka@redhat.com>
      Cc: linux-wireless@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Signed-off-by: NKees Cook <keescook@chromium.org>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      2b77839b
    • K
      qtnfmac: Convert timers to use timer_setup() · 7e916caf
      Kees Cook 提交于
      In preparation for unconditionally passing the struct timer_list pointer to
      all timer callbacks, switch to using the new timer_setup() and from_timer()
      to pass the timer pointer explicitly.
      
      Cc: Kalle Valo <kvalo@codeaurora.org>
      Cc: Igor Mitsyanko <imitsyanko@quantenna.com>
      Cc: Avinash Patil <avinashp@quantenna.com>
      Cc: Sergey Matyukevich <smatyukevich@quantenna.com>
      Cc: Kamlesh Rath <krath@quantenna.com>
      Cc: linux-wireless@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Signed-off-by: NKees Cook <keescook@chromium.org>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      7e916caf
    • K
      rtlwifi: Convert timers to use timer_setup() · 7c51d17c
      Kees Cook 提交于
      In preparation for unconditionally passing the struct timer_list pointer to
      all timer callbacks, switch to using the new timer_setup() and from_timer()
      to pass the timer pointer explicitly.
      
      Cc: Kalle Valo <kvalo@codeaurora.org>
      Cc: Larry Finger <Larry.Finger@lwfinger.net>
      Cc: Chaoming Li <chaoming_li@realsil.com.cn>
      Cc: Ping-Ke Shih <pkshih@realtek.com>
      Cc: Arvind Yadav <arvind.yadav.cs@gmail.com>
      Cc: Souptick Joarder <jrdr.linux@gmail.com>
      Cc: linux-wireless@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Signed-off-by: NKees Cook <keescook@chromium.org>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      7c51d17c
  2. 18 10月, 2017 11 次提交
  3. 17 10月, 2017 1 次提交
  4. 13 10月, 2017 15 次提交