Linux-Next Archive on lore.kernel.org
 help / color / Atom feed
* linux-next: build warnings after merge of the mac80211-next tree
@ 2020-07-31  3:28 Stephen Rothwell
  2020-07-31  4:59 ` Thomas Pedersen
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2020-07-31  3:28 UTC (permalink / raw)
  To: Johannes Berg, Wireless
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Thomas Pedersen


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

Hi all,

After merging the mac80211-next tree, today's linux-next build (x86_64
allmodconfig) produced these warnings:

drivers/net/wireless/ath/ath10k/mac.c: In function 'chan_to_phymode':
drivers/net/wireless/ath/ath10k/mac.c:558:3: warning: enumeration value 'NL80211_CHAN_WIDTH_1' not handled in switch [-Wswitch]
  558 |   switch (chandef->width) {
      |   ^~~~~~
drivers/net/wireless/ath/ath10k/mac.c:558:3: warning: enumeration value 'NL80211_CHAN_WIDTH_2' not handled in switch [-Wswitch]
drivers/net/wireless/ath/ath10k/mac.c:558:3: warning: enumeration value 'NL80211_CHAN_WIDTH_4' not handled in switch [-Wswitch]
drivers/net/wireless/ath/ath10k/mac.c:558:3: warning: enumeration value 'NL80211_CHAN_WIDTH_8' not handled in switch [-Wswitch]
drivers/net/wireless/ath/ath10k/mac.c:558:3: warning: enumeration value 'NL80211_CHAN_WIDTH_16' not handled in switch [-Wswitch]
drivers/net/wireless/ath/ath10k/mac.c:581:3: warning: enumeration value 'NL80211_CHAN_WIDTH_1' not handled in switch [-Wswitch]
  581 |   switch (chandef->width) {
      |   ^~~~~~
drivers/net/wireless/ath/ath10k/mac.c:581:3: warning: enumeration value 'NL80211_CHAN_WIDTH_2' not handled in switch [-Wswitch]
drivers/net/wireless/ath/ath10k/mac.c:581:3: warning: enumeration value 'NL80211_CHAN_WIDTH_4' not handled in switch [-Wswitch]
drivers/net/wireless/ath/ath10k/mac.c:581:3: warning: enumeration value 'NL80211_CHAN_WIDTH_8' not handled in switch [-Wswitch]
drivers/net/wireless/ath/ath10k/mac.c:581:3: warning: enumeration value 'NL80211_CHAN_WIDTH_16' not handled in switch [-Wswitch]

Introduced by commit

  e5cb3d34a66d ("nl80211: S1G band and channel definitions")

-- 
Cheers,
Stephen Rothwell

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

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

* Re: linux-next: build warnings after merge of the mac80211-next tree
  2020-07-31  3:28 linux-next: build warnings after merge of the mac80211-next tree Stephen Rothwell
@ 2020-07-31  4:59 ` Thomas Pedersen
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Pedersen @ 2020-07-31  4:59 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Johannes Berg, Wireless, Linux Next Mailing List,
	Linux Kernel Mailing List

On 2020-07-30 20:28, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the mac80211-next tree, today's linux-next build (x86_64
> allmodconfig) produced these warnings:

Thanks Stephen. I'll send a fix against mac80211-next to linux-wireless.

-- 
thomas

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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-31  3:28 linux-next: build warnings after merge of the mac80211-next tree Stephen Rothwell
2020-07-31  4:59 ` Thomas Pedersen

Linux-Next Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-next/0 linux-next/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-next linux-next/ https://lore.kernel.org/linux-next \
		linux-next@vger.kernel.org
	public-inbox-index linux-next

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-next


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git