Re: git: 6a15fd92392c - main - linuxkpi: add WLAN_EID_HT_OPERATION to ieee80211_eid

Gleb Smirnoff <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src,gmane.os.freebsd.current.scm
Message-ID <[email protected]>
  Bjoern,

On Fri, Aug 07, 2026 at 10:15:06PM +0000, Bjoern A. Zeeb wrote:
B> > The branch main has been updated by glebius:
B> > 
B> > URL: https://cgit.FreeBSD.org/src/commit/?id=6a15fd92392cfda1e0b7608e1a4a08509bc796f3
B> > 
B> > commit 6a15fd92392cfda1e0b7608e1a4a08509bc796f3
B> > Author:     Gleb Smirnoff <[email protected]>
B> > AuthorDate: 2026-08-06 05:59:20 +0000
B> > Commit:     Gleb Smirnoff <[email protected]>
B> > CommitDate: 2026-08-07 21:12:57 +0000
B> > 
B> >    linuxkpi: add WLAN_EID_HT_OPERATION to ieee80211_eid
B> 
B> The gernal line I try to use starts with LinuxKPI: 802.11: ...

Sorry.  I usually try to check git log for most common pattern, but sometimes
fail to recognize one.  Will do better next time.

B> 
B> >    It matches our IEEE80211_ELEMID_HTINFO, that is already in use.
B> > 
B> >    Found with:     clang -Werror=assign-enum
B> 
B> Sorry, what was the error for this?
B> I am confused as to how/where this shows up?

Somewhere else in the code there is a place where a variable of Linux's type
enum ieee80211_eid is assigned FreeBSD's enum value IEEE80211_ELEMID_HTINFO.
Since this value is not on the Linux's enum, that would fail with
-Werror=assign-enum.

-- 
Gleb Smirnoff
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.