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 70E28C7EE22 for ; Thu, 27 Apr 2023 17:48:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243708AbjD0RsD (ORCPT ); Thu, 27 Apr 2023 13:48:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243924AbjD0RsB (ORCPT ); Thu, 27 Apr 2023 13:48:01 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E58549E1 for ; Thu, 27 Apr 2023 10:47:38 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id 98e67ed59e1d1-2496863c2c7so7394299a91.1 for ; Thu, 27 Apr 2023 10:47:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1682617650; x=1685209650; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=AowLft9EBX5gUxctKSIUsNiudl4F28FeVro2d7oaOEM=; b=K4EdX966gif7u1ukpy0llJYHxfFkYWdfFwMYcKVy6usRHt/PkkR2YDimen8qEqOwE8 fGzRXODQ5CUo/tjE5+XIHaBeRBSqAYhjo9uObcaIaNjCodLXxRbWT9aG3cBAoPuBk5OL mNdKOFueqrBJqJbPEXDVDz55E7hKGLTusoanE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682617650; x=1685209650; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=AowLft9EBX5gUxctKSIUsNiudl4F28FeVro2d7oaOEM=; b=EkR97pVUnLh0q8txUIkTdAz9QlBSh8sb5zvBL/zOGT5N9kOQwcAk1TMNv3w1qwe756 2r73dULIjREqDUrUnRx0NwSN+ez3U9xmM8qpvvDDTQIXX4cc5r3R3ox0SBLwxQBIrg1d 3+hiNcvATa7l2/M1Bc9pVyDYhEDz8ClrkfPZyNzXrLd0kpxXLgbqGMnCgbYZcfasI8qb KFKdiq/xLodk+7Zuc4SkKAshI995ZqUpvIKNy8cCHNy5jA5yJH68EBDmqidJEw5Yvb99 jRTOG7uweWveO0h7y7X7axoCpfHsqZTdTJxIm37G5nElGD75q8gI1MhxxFbZCDFTKUvt Tlpg== X-Gm-Message-State: AC+VfDxbWfa34i4kUo0+zyLHotVgQbEaSPYyg9Hx02Fk7JWCc1w4LlrM dwpKM7oBmyqsAchOsTKEp4lbwA== X-Google-Smtp-Source: ACHHUZ7oDO17oEmp71hXDgibg5WFVW2Jl6Z+LeyB/FPq2+qXtjm2demldilHFox1tX28JgToNRGZYA== X-Received: by 2002:a17:90b:3e82:b0:246:c223:14ab with SMTP id rj2-20020a17090b3e8200b00246c22314abmr2645491pjb.41.1682617650051; Thu, 27 Apr 2023 10:47:30 -0700 (PDT) Received: from google.com ([2620:15c:9d:2:17bc:8fd4:f9e:3e41]) by smtp.gmail.com with ESMTPSA id fv23-20020a17090b0e9700b0023d0290afbdsm13597610pjb.4.2023.04.27.10.47.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Apr 2023 10:47:29 -0700 (PDT) Date: Thu, 27 Apr 2023 10:47:27 -0700 From: Brian Norris To: Christophe JAILLET Cc: Amitkumar Karwar , Ganapathi Bhat , Sharvari Harisangam , Xinming Hu , Kalle Valo , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH net-next] wifi: mwifiex: Use list_count_nodes() Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Wed, Apr 26, 2023 at 09:32:36PM +0200, 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 > --- > drivers/net/wireless/marvell/mwifiex/11n.h | 4 ++-- > drivers/net/wireless/marvell/mwifiex/wmm.h | 15 --------------- > 2 files changed, 2 insertions(+), 17 deletions(-) FWIW: Reviewed-by: Brian Norris