RE: [PATCH] wifi: rtw89: debug: fix off-by-one in rtw89_ppdu_str()

Ping-Ke Shih <[email protected]>
Newsgroups org.kernel.vger.stable,org.kernel.vger.linux-kernel,org.kernel.vger.linux-wireless
Message-ID <[email protected]>
Linkai Gong <[email protected]> wrote:
> rtw89_ppdu_str() uses type > ARRAY_SIZE(), so type == ARRAY_SIZE() still
> indexes one past rtw89_ppdu_infos[]. Compare with >=, like
> rtw89_txcmd_str().
> 
> Fixes: 419ed7f4a053 ("wifi: rtw89: debug: extend bb_info with TX status and PER")
> Cc: [email protected]
> Signed-off-by: Linkai Gong <[email protected]>

The same patch [1] was applied. 

[1] https://lore.kernel.org/linux-wireless/[email protected]/#t
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.