1. 01 Sep, 2020 6 commits
    • Lee Jones's avatar
      libertas_tf: Demote non-conformant kernel-doc headers · 9833f503
      Lee Jones authored
      There are only 2 kernel-doc headers in this file and both are
      incorrect.  The first one does not attempt to document the function at
      all and the second one is suffering from severe doc-rot; the format is
      wrong and only 1 out of 3 parameters are being documented.
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/net/wireless/marvell/libertas_tf/main.c:129: warning: Function parameter or member 't' not described in 'command_timer_fn'
       drivers/net/wireless/marvell/libertas_tf/main.c:554: warning: Function parameter or member 'card' not described in 'lbtf_add_card'
       drivers/net/wireless/marvell/libertas_tf/main.c:554: warning: Function parameter or member 'dmdev' not described in 'lbtf_add_card'
       drivers/net/wireless/marvell/libertas_tf/main.c:554: warning: Function parameter or member 'ops' not described in 'lbtf_add_card'
      
      Cc: Kalle Valo <kvalo@codeaurora.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jakub Kicinski <kuba@kernel.org>
      Cc: linux-wireless@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/20200819072402.3085022-5-lee.jones@linaro.org
      9833f503
    • Lee Jones's avatar
      rsi: File header should not be kernel-doc · 2fc4c9ff
      Lee Jones authored
      Fixes the following W=1 kernel build warning(s):
      
       drivers/net/wireless/rsi/rsi_91x_core.c:23: warning: Incorrect use of kernel-doc format:  * rsi_determine_min_weight_queue() - This function determines the queue with
       drivers/net/wireless/rsi/rsi_91x_core.c:30: warning: Function parameter or member 'common' not described in 'rsi_determine_min_weight_queue'
      
      Cc: Amitkumar Karwar <amitkarwar@gmail.com>
      Cc: Siva Rebbagondla <siva8118@gmail.com>
      Cc: Kalle Valo <kvalo@codeaurora.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jakub Kicinski <kuba@kernel.org>
      Cc: linux-wireless@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/20200819072402.3085022-4-lee.jones@linaro.org
      2fc4c9ff
    • Lee Jones's avatar
      rsi: Fix some kernel-doc issues · 470d48c1
      Lee Jones authored
      The file header should not be kernel-doc.  Add missing 'rec_pkt'
      description.  Update 'rsi_91x_init()'s parameter description.
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/net/wireless/rsi/rsi_91x_main.c:17: warning: Function parameter or member 'fmt' not described in 'pr_fmt'
       drivers/net/wireless/rsi/rsi_91x_main.c:156: warning: Function parameter or member 'rx_pkt' not described in 'rsi_read_pkt'
       drivers/net/wireless/rsi/rsi_91x_main.c:287: warning: Function parameter or member 'oper_mode' not described in 'rsi_91x_init'
       drivers/net/wireless/rsi/rsi_91x_main.c:287: warning: Excess function parameter 'void' description in 'rsi_91x_init'
      
      Cc: Amitkumar Karwar <amitkarwar@gmail.com>
      Cc: Siva Rebbagondla <siva8118@gmail.com>
      Cc: Kalle Valo <kvalo@codeaurora.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jakub Kicinski <kuba@kernel.org>
      Cc: linux-wireless@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/20200819072402.3085022-3-lee.jones@linaro.org
      470d48c1
    • Lee Jones's avatar
      hostap: Mark 'freq_list' as __maybe_unused · 34537d49
      Lee Jones authored
      'freq_list' is used in some source files which include hostap.h, but
      not all.  The compiler complains about the times it's not used.  Mark
      it as __maybe_used to tell the compiler that this is not only okay,
      it's expected.
      
      Fixes the following W=1 kernel build warning(s):
      
       In file included from drivers/net/wireless/intersil/hostap/hostap_80211_tx.c:9:
       drivers/net/wireless/intersil/hostap/hostap.h:11:19: warning: ‘freq_list’ defined but not used [-Wunused-const-variable=]
       In file included from drivers/net/wireless/intersil/hostap/hostap_main.c:31:
       drivers/net/wireless/intersil/hostap/hostap.h:11:19: warning: ‘freq_list’ defined but not used [-Wunused-const-variable=]
       In file included from drivers/net/wireless/intersil/hostap/hostap_proc.c:10:
       drivers/net/wireless/intersil/hostap/hostap.h:11:19: warning: ‘freq_list’ defined but not used [-Wunused-const-variable=]
       In file included from drivers/net/wireless/intersil/hostap/hostap_hw.c:50,
       from drivers/net/wireless/intersil/hostap/hostap_cs.c:196:
       At top level:
       drivers/net/wireless/intersil/hostap/hostap.h:11:19: warning: ‘freq_list’ defined but not used [-Wunused-const-variable=]
       In file included from drivers/net/wireless/intersil/hostap/hostap_hw.c:50,
       from drivers/net/wireless/intersil/hostap/hostap_pci.c:221:
       At top level:
       drivers/net/wireless/intersil/hostap/hostap.h:11:19: warning: ‘freq_list’ defined but not used [-Wunused-const-variable=]
       In file included from drivers/net/wireless/intersil/hostap/hostap_hw.c:50,
       from drivers/net/wireless/intersil/hostap/hostap_plx.c:264:
       At top level:
       drivers/net/wireless/intersil/hostap/hostap.h:11:19: warning: ‘freq_list’ defined but not used [-Wunused-const-variable=]
      
      Cc: Jouni Malinen <j@w1.fi>
      Cc: Kalle Valo <kvalo@codeaurora.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jakub Kicinski <kuba@kernel.org>
      Cc: linux-wireless@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/20200819072402.3085022-2-lee.jones@linaro.org
      34537d49
    • Allen Pais's avatar
      rtlwifi: fix build warning · 6b8c7574
      Allen Pais authored
      Tasklet conversion patch introduced a build
      warning in _rtl_usb_init_rx, this patch fixes the warning.
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Fixes: d3ccc14d ("rtlwifi/rtw88: convert tasklets to use new tasklet_setup() API")
      Signed-off-by: default avatarAllen Pais <allen.lkml@gmail.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/20200831043659.281712-1-allen.lkml@gmail.com
      6b8c7574
    • Allen Pais's avatar
      zd1211rw: fix build warning · 5d4650ae
      Allen Pais authored
      Tasklet conversion patches intoruced a build warning
      in init_usb_rx(), this patch fixes the same.
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Fixes: 26721b02 ("zd1211rw: convert tasklets to use new tasklet_setup() API")
      Signed-off-by: default avatarAllen Pais <allen.lkml@gmail.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/20200831043425.281538-1-allen.lkml@gmail.com
      5d4650ae
  2. 31 Aug, 2020 13 commits
  3. 27 Aug, 2020 21 commits