From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 695C4C77B75 for ; Fri, 5 May 2023 12:02:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232038AbjEEMC5 (ORCPT ); Fri, 5 May 2023 08:02:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232050AbjEEMCk (ORCPT ); Fri, 5 May 2023 08:02:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38F7F1C0FA; Fri, 5 May 2023 05:02:31 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BE83963D97; Fri, 5 May 2023 12:02:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 52167C433D2; Fri, 5 May 2023 12:02:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683288150; bh=nbaPAqCZ0ApBkXNXBOc2q5/hPJyXqyM1jtg1d1NSImQ=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=oBVIJZ8gfjJPFebPgZDymaw2OqePdHrgpsH/82m4mYRkC0xkVJby4S5uSI+ua7uUM 3qfR3ROKQFpIkJzUnfc1QVu6iQ2CRFlmjEQAfTmg01RKYixOQAqvNZkzWLZbGlhTnR nGC0Dg4nUk4FquZzBvLRnf4CnsK18QQg2HgYgJssT7XcK75qWAG7YlMsgQo3KNvzdK 8Aye1rgH03MF2PryyEiQR0UgojTWxurrw7TqVB67s0GIAigSuQ2xLJTbklgj8qnbcd fhHueJ3AdeXxtdbOoCL/rpj1J+uEbvvFhvwoTQe10Souei2UXO9IWjMCnHDsfCpyN/ 83KG89ucSagiw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH net-next] wifi: mwifiex: Use list_count_nodes() From: Kalle Valo In-Reply-To: References: To: Christophe JAILLET Cc: Amitkumar Karwar , Ganapathi Bhat , Sharvari Harisangam , Xinming Hu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , linux-wireless@vger.kernel.org, netdev@vger.kernel.org User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <168328814540.30117.8252541774240707709.kvalo@kernel.org> Date: Fri, 5 May 2023 12:02:27 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christophe JAILLET 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 > Reviewed-by: Brian Norris 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@wanadoo.fr/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches