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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 23 Jan 2022 19:34:18 +0100 From: Martin Blumenstingl <martin.blumenstingl@...glemail.com> To: Kalle Valo <kvalo@...nel.org> Cc: Pkshih <pkshih@...ltek.com>, "linux-wireless@...r.kernel.org" <linux-wireless@...r.kernel.org>, "tony0620emma@...il.com" <tony0620emma@...il.com>, "netdev@...r.kernel.org" <netdev@...r.kernel.org>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, Neo Jou <neojou@...il.com>, Jernej Skrabec <jernej.skrabec@...il.com> Subject: Re: [PATCH 3/4] rtw88: Move enum rtw_tx_queue_type mapping code to tx.{c,h} Hi Kalle, On Wed, Jan 19, 2022 at 7:20 AM Kalle Valo <kvalo@...nel.org> wrote: [...] > I was about to answer that with a helper function it's easier to catch > out of bands access, but then noticed the helper doesn't have a check > for that. Should it have one? you mean something like: if (ac >= IEEE80211_NUM_ACS) return RTW_TX_QUEUE_BE; Possibly also with a WARN_ON/WARN_ON_ONCE Best regards, Martin
Powered by blists - more mailing lists