Re: [PATCH net-next] wifi: mwifiex: Use list_count_nodes()

From: Kalle Valo
Date: Fri May 05 2023 - 08:02:58 EST


Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> wrote:

> mwifiex_wmm_list_len() is the same as list_count_nodes(), so use the latter
> instead of hand writing it.
>
> Turn 'ba_stream_num' and 'ba_stream_max' in size_t to keep the same type
> as what is returned by list_count_nodes().
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> Reviewed-by: Brian Norris <briannorris@xxxxxxxxxxxx>

Patch applied to wireless-next.git, thanks.

c401bde6ead4 wifi: mwifiex: Use list_count_nodes()

--
https://patchwork.kernel.org/project/linux-wireless/patch/e77ed7f719787cb8836a93b6a6972f4147e40bc6.1682537509.git.christophe.jaillet@xxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches