lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aRtkooxPeRYTiuJL@nxpwireless-Inspiron-14-Plus-7440>
Date: Tue, 18 Nov 2025 02:08:34 +0800
From: jeff.chen_1@....com
To: Johannes Berg <johannes@...solutions.net>
Cc: linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org,
	briannorris@...omium.org, francesco@...cini.it,
	tsung-hsien.hsieh@....com, s.hauer@...gutronix.de
Subject: Re: [PATCH v6 00/22] wifi: nxpwifi: create nxpwifi to support iw61x

On Tue, Nov 11, 2025 at 11:37:57 AM +0100, Johannes Berg wrote:
> Hi,
> 
> So ... I thought I was just going to pick this up now (removing the
> 'inline' in patch 4 that shouldn't be there according to the bot), but
> ... it doesn't build (cleanly) for me.
> 
> First:
> 
>   CC [M]  drivers/net/wireless/nxp/nxpwifi/util.o
> drivers/net/wireless/nxp/nxpwifi/util.c: In function ‘nxpwifi_rxpdinfo_to_radiotapinfo’:
> drivers/net/wireless/nxp/nxpwifi/util.c:648:12: error: variable ‘ext_rate_info’ set but not used [-Werror=unused-but-set-variable]
>   648 |         u8 ext_rate_info = 0;
>       |            ^~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> 
> 
> Fixing that, I not only get a LOT of sparse warnings such as
> 
>   CHECK   drivers/net/wireless/nxp/nxpwifi/util.c
> drivers/net/wireless/nxp/nxpwifi/util.c:654:40: warning: restricted __le32 degrades to integer
> drivers/net/wireless/nxp/nxpwifi/util.c:655:38: warning: restricted __le32 degrades to integer
> 
> but also a bunch of sparse _errors_ such as:
> 
>   CHECK   drivers/net/wireless/nxp/nxpwifi/cfg80211.c
> drivers/net/wireless/nxp/nxpwifi/cfg80211.c:1043:17: error: typename in expression
> drivers/net/wireless/nxp/nxpwifi/cfg80211.c:1043:24: error: Expected ; at end of statement
> drivers/net/wireless/nxp/nxpwifi/cfg80211.c:1043:24: error: got const
> drivers/net/wireless/nxp/nxpwifi/cfg80211.c:1043:17: error: undefined identifier 'static'
> drivers/net/wireless/nxp/nxpwifi/cfg80211.c:1058:32: error: undefined identifier 'legacy_rates'
> drivers/net/wireless/nxp/nxpwifi/cfg80211.c:1058:32: error: undefined identifier 'legacy_rates'
> drivers/net/wireless/nxp/nxpwifi/cfg80211.c:1059:40: error: undefined identifier 'legacy_rates'
> 
> 
> Can you please take a look at that?
> 
> johannes
> 

Hi Johannes,

Resending to the list for visibility.

Thanks for checking. I’ve already posted v7, which fixes the build issues and addresses the Sparse warnings you mentioned, along with several other related fixes.

Please let me know if you still see any problems with v7.

Jeff

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ