Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp263397rdg; Thu, 12 Oct 2023 05:14:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG6SoAR7jDJD7vSgx1Vyte0LH/xWtRmofqiINih+tLIX3kGojzF3pBrtrr9t0TBPzvZiY3/ X-Received: by 2002:a05:6358:7e92:b0:143:5383:af8b with SMTP id o18-20020a0563587e9200b001435383af8bmr24091880rwn.11.1697112854660; Thu, 12 Oct 2023 05:14:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697112854; cv=none; d=google.com; s=arc-20160816; b=prynPZGBCPNSoWq2lTHDQLcaezZviBwTmBncoJyqNaXtnXvT7TtmqPQ2nmboaJOkyV NpuaV6UShAAi6x5k5bwX/yrXEVbFe8Xf8fQtOK+gKZgjtznK5ifZGDB1QszoNO2yyh5y /jyrqddjHFXYVrwkto8wQo0fo72njHHxZLwreh9Iqx3RRhRROtIT/qcyVoIlEbxkj1pq qXlL3lwBSEkqEBcEZVsKz1+H3tmn9RCYpv99F1ZPV0wHUpc5QQyh3MKdyxMfTN7NSXsy p0xRjBvEYR5T0ke6uBh54VnLMb9e80nhRhCfzYV39aM4EmyOV8R2EdD/BUTRpBeZNJdH 2PbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=nyIZa99iTjgKk8wpGV+VcynX2VowJC0T2oOPZPkleFA=; fh=W+d0VTlB06MRf7YcZ9fsTH6rmN1qgblnN3a4fITKvd0=; b=src150+KtU/cpsV/MoqP8u09oTC37Qv7Vaad8HSb915lo7mSoAgwDURbJDMVLHlXnE Sqr0iUSk4oIdI0Gkvr+kK/U/mpr7H+cFKbteJKgyXn696IHdRfvOlxbJyoznTDTNey2z aVKx9cVdRaiXQ4oUOiBs+Ub90L3/X214bebOVkaTEnPuk5dEH/4jYmowDWn0m1/6UlUu aeX6Ye2SN8dUxI97Aw8kcMkuYW2FcN1CqC7dB/vTNkKhwWxothFlb7iY29l1YSv4/9WR 48HGgrytUmBD+CwJIq2vNzJs+P17oHRBljHSlR8RP9olsxVvuBGdZJgni0jPIPPN0XUk i+ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=urgQcKir; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id y10-20020a63180a000000b00573f9a427d9si2080082pgl.717.2023.10.12.05.14.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 05:14:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=urgQcKir; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id B4E38812A637; Thu, 12 Oct 2023 05:14:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378413AbjJLMOJ (ORCPT + 52 others); Thu, 12 Oct 2023 08:14:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343987AbjJLMOI (ORCPT ); Thu, 12 Oct 2023 08:14:08 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6814BB7 for ; Thu, 12 Oct 2023 05:14:07 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 15922C433C8; Thu, 12 Oct 2023 12:14:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697112847; bh=pwfx4DyzKcp+aoQKNkiNPVaI14yTKqnUi3ikmvwEd0M=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=urgQcKiruDB7MCvXnZoDyFzXSReTrNbuJ1BnMuOrQdpuEjTSZVw4RGYce4eDEJNrm KLtsv2HO8XYVefP0kdHeUEqcjDIF3DBxlMvrM7CNEWq+bbdCeB0KFFvUkWS89zMf8T 9QNIWg2yLMYiKt8+yACm4XkiXiy57qy85OsDagwcQqJgi/MJF0xxE4kkwi7deHwUwW bxKeRqtL0VMh7SnPXP2bl6Ud5JDUO7eXuafWcEQ7aIz6rAl4H3/uTLc6mod2e81bqU pbLJt/7CdBkr2pe1IFd8vdAYunRy8CGp4FA7BsP+owh+AxQjFc2JdytH9OJbgcCGro w77s0eYpJyhEw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] [v2] wifi: rtlwifi: use convenient list_count_nodes() From: Kalle Valo In-Reply-To: <20231011045227.7989-1-dmantipov@yandex.ru> References: <20231011045227.7989-1-dmantipov@yandex.ru> To: Dmitry Antipov Cc: Ping-Ke Shih , linux-wireless@vger.kernel.org, Dmitry Antipov User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169711284392.2932680.11294505669650865034.kvalo@kernel.org> Date: Thu, 12 Oct 2023 12:14:05 +0000 (UTC) X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 12 Oct 2023 05:14:10 -0700 (PDT) Dmitry Antipov wrote: > Simplify 'rtl92ee_dm_common_info_self_update()', > 'rtl8723be_dm_common_info_self_update()', and > 'rtl8821ae_dm_common_info_self_update()' by using > 'list_count_nodes()'. Compile tested only. > > Signed-off-by: Dmitry Antipov > Acked-by: Ping-Ke Shih Patch applied to wireless-next.git, thanks. 0c27d27258ff wifi: rtlwifi: use convenient list_count_nodes() -- https://patchwork.kernel.org/project/linux-wireless/patch/20231011045227.7989-1-dmantipov@yandex.ru/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches