linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the wireless-drivers-next tree
@ 2016-07-08  1:32 Stephen Rothwell
  2016-07-08  1:35 ` Stephen Rothwell
  0 siblings, 1 reply; 19+ messages in thread
From: Stephen Rothwell @ 2016-07-08  1:32 UTC (permalink / raw)
  To: Kalle Valo, linux-wireless, David Miller, netdev, Johannes Berg
  Cc: linux-next, linux-kernel, Xinming Hu, Amitkumar Karwar,
	Avraham Stern, David Spinadel, Assaf Krauss, Luca Coelho

Hi all,

After merging the wireless-drivers-next tree, today's linux-next build
(arm multi_v7_defconfig, x86_64 allmodconfig) produced this warning:

drivers/net/wireless/marvell/mwifiex/scan.c: In function 'mwifiex_cancel_scan':
drivers/net/wireless/marvell/mwifiex/scan.c:2031:44: warning: passing argument 2 of 'cfg80211_scan_done' makes pointer from integer without a cast [-Wint-conversion]
     cfg80211_scan_done(priv->scan_request, 1);
                                            ^
In file included from include/net/mac80211.h:23:0,
                 from drivers/net/wireless/marvell/mwifiex/decl.h:30,
                 from drivers/net/wireless/marvell/mwifiex/scan.c:20:
include/net/cfg80211.h:4104:6: note: expected 'struct cfg80211_scan_info *' but argument is of type 'int'
 void cfg80211_scan_done(struct cfg80211_scan_request *request,
      ^

Introduced by commit

  a9c790ba23eb ("mwifiex: factor out mwifiex_cancel_scan")

interacting with commit

  1d76250bd34a ("nl80211: support beacon report scanning")

from the net-next (and mac80211-next) tree.

This will need some merge fix patch ... please send me or Dave one.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 19+ messages in thread
* linux-next: build warning after merge of the wireless-drivers-next tree
@ 2016-07-20  2:25 Stephen Rothwell
  2016-07-20  6:18 ` Reizer, Eyal
  0 siblings, 1 reply; 19+ messages in thread
From: Stephen Rothwell @ 2016-07-20  2:25 UTC (permalink / raw)
  To: Kalle Valo, linux-wireless; +Cc: linux-next, linux-kernel, Eyal Reizer

Hi all,

After merging the wireless-drivers-next tree, today's linux-next build
(x86_64 allmodconfig) produced this warning:

drivers/net/wireless/ti/wlcore/spi.c: In function 'wlcore_probe_of':
drivers/net/wireless/ti/wlcore/spi.c:457:6: warning: unused variable 'ret' [-Wunused-variable]
  int ret;
      ^

Introduced by commit

  01efe65aba65 ("wlcore: spi: add wl18xx support")

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 19+ messages in thread
* linux-next: build warning after merge of the wireless-drivers-next tree
@ 2016-11-28  0:58 Stephen Rothwell
  2016-11-28  7:25 ` Kalle Valo
  0 siblings, 1 reply; 19+ messages in thread
From: Stephen Rothwell @ 2016-11-28  0:58 UTC (permalink / raw)
  To: Kalle Valo, Wireless; +Cc: linux-next, linux-kernel, Jes Sorensen

Hi all,

After merging the wireless-drivers-next tree, today's linux-next build
(x86_64 allmodconfig) produced this warning:

In file included from include/linux/usb/ch9.h:35:0,
                 from include/linux/usb.h:5,
                 from drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:32:
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c: In function 'rtl8xxxu_fill_txdesc_v2':
include/linux/device.h:1214:36: warning: 'rate' may be used uninitialized in this function [-Wmaybe-uninitialized]
 #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
                                    ^
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:4841:6: note: 'rate' was declared here
  u32 rate;
      ^

Introduced by commit

  b4c3d9cfb607 ("rtl8xxxu: Pass tx_info to fill_txdesc in order to have access to retry count")

This is a correct diagnosis.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 19+ messages in thread
* linux-next: build warning after merge of the wireless-drivers-next tree
@ 2017-01-13  0:12 Stephen Rothwell
  2017-01-13 13:47 ` Kalle Valo
  0 siblings, 1 reply; 19+ messages in thread
From: Stephen Rothwell @ 2017-01-13  0:12 UTC (permalink / raw)
  To: Kalle Valo, Wireless
  Cc: linux-next, linux-kernel, Xinming Hu, Amitkumar Karwar

Hi all,

After merging the wireless-drivers-next tree, today's linux-next build
(x86_64 allmodconfig) produced this warning:

drivers/net/wireless/marvell/mwifiex/pcie.c: In function 'mwifiex_pcie_remove':
drivers/net/wireless/marvell/mwifiex/pcie.c:303:5: warning: 'fw_status' may be used uninitialized in this function [-Wmaybe-uninitialized]
  if (fw_status == FIRMWARE_READY_PCIE && !adapter->mfg_mode) {
     ^

Introduced by commit

  045f0c1b5e26 ("mwifiex: get rid of global user_rmmod flag")

This is not a false positive since "reg" could be NULL just above
(otherwise it would be tested for).

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 19+ messages in thread
* linux-next: build warning after merge of the wireless-drivers-next tree
@ 2019-01-30 23:46 Stephen Rothwell
  2019-01-30 23:51 ` Luca Coelho
  0 siblings, 1 reply; 19+ messages in thread
From: Stephen Rothwell @ 2019-01-30 23:46 UTC (permalink / raw)
  To: Kalle Valo, Wireless
  Cc: Linux Next Mailing List, Linux Kernel Mailing List,
	Johannes Berg, Luca Coelho

[-- Attachment #1: Type: text/plain, Size: 520 bytes --]

Hi all,

After merging the wireless-drivers-next tree, today's linux-next build
(x86_64 allmodconfig) produced this warning:

drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c:195:13: warning: 'iwl_mvm_add_rtap_sniffer_config' defined but not used [-Wunused-function]
 static void iwl_mvm_add_rtap_sniffer_config(struct iwl_mvm *mvm,
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

  9bf13bee2d74 ("iwlwifi: mvm: include configured sniffer AID in radiotap")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread
* linux-next: build warning after merge of the wireless-drivers-next tree
@ 2021-06-24  2:16 Stephen Rothwell
  2021-06-24  5:49 ` Kalle Valo
  0 siblings, 1 reply; 19+ messages in thread
From: Stephen Rothwell @ 2021-06-24  2:16 UTC (permalink / raw)
  To: Kalle Valo, Wireless
  Cc: Luca Coelho, Miri Korenblit, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 543 bytes --]

Hi all,

After merging the wireless-drivers-next tree, today's linux-next build
(x86_64 allmodconfig) produced this warning:

drivers/net/wireless/intel/iwlwifi/fw/acpi.c:720:12: warning: 'iwl_acpi_eval_dsm_func' defined but not used [-Wunused-function]
  720 | static u32 iwl_acpi_eval_dsm_func(struct device *dev, enum iwl_dsm_funcs_rev_0 eval_func)
      |            ^~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

  7119f02b5d34 ("iwlwifi: mvm: support BIOS enable/disable for 11ax in Russia")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2021-06-24  5:50 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-08  1:32 linux-next: build warning after merge of the wireless-drivers-next tree Stephen Rothwell
2016-07-08  1:35 ` Stephen Rothwell
2016-07-20  2:25 Stephen Rothwell
2016-07-20  6:18 ` Reizer, Eyal
     [not found]   ` <8665E2433BC68541A24DFFCA87B70F5B3616184A-1tpBd5JUCm6IQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2016-07-20 18:41     ` Kalle Valo
2016-11-28  0:58 Stephen Rothwell
2016-11-28  7:25 ` Kalle Valo
2016-11-28  8:16   ` Barry Day
2016-11-28 11:44     ` Kalle Valo
2016-11-28 12:26       ` Jes Sorensen
2017-01-13  0:12 Stephen Rothwell
2017-01-13 13:47 ` Kalle Valo
2017-01-17 11:49   ` Kalle Valo
2019-01-30 23:46 Stephen Rothwell
2019-01-30 23:51 ` Luca Coelho
     [not found]   ` <9455f1b9e746f2c28d1573ccdce3836ece42cd8a.camel-XPOmlcxoEMv1KXRcyAk9cg@public.gmane.org>
2019-01-31 13:46     ` Kalle Valo
2019-01-31 20:52       ` Stephen Rothwell
2021-06-24  2:16 Stephen Rothwell
2021-06-24  5:49 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).