Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp262527rdb; Thu, 16 Nov 2023 19:38:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IG+9HkNyoZ3z6Qi54zK1lqyjciUhwCZu/hparXVZlrShhufPW05wSF26PJsEYxMcLe0AtCk X-Received: by 2002:a05:6a21:a593:b0:185:d125:ea70 with SMTP id gd19-20020a056a21a59300b00185d125ea70mr5764232pzc.19.1700192314389; Thu, 16 Nov 2023 19:38:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700192314; cv=none; d=google.com; s=arc-20160816; b=imTn/ph9f6jdqFztqyluGPfwCeEXBACcZBDjcGOHywrh3RKVF3evWaJxW0JwJtHh6r hIGBM8WqeQsWUxxSja6Oeg6I1wbzDA316CPUOiNuuRDa7N/faPx2F8hcefURsZXdO9yQ 6K1iGlqXtYIZ5PgG3P2oyflSyG6lVzUgBQciFVhfh7UMTIa2ye8pLlZoFYi+1BnBDBX9 72EVo3aB6CZNRSovSy3gJe1phrG4q4ahZToSPXlz2H+wmuSsR+BlfKjF8ub7lVlyZBCT hDFROa9CMl5DsMexK4pjZbwpVt6XL8Ek3TNmmWzNsvEZeLTWvj/x3/gENjQeNuuk/imJ bmDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=+a2PWgAooB1kUYbHo53FDdrBgG8FNz+oVLXd/ZEb61Q=; fh=2hI485HFlXJy+4lLjgPX5/GYVcxclaS/2eVblZtiuKQ=; b=xEzSrPz6iFc+MVkUSbACvP9UdW7sQ/StZvsYlJUlWhahe4hfREWSWYIOAD/H+VSMvf ns/lILBizZkFD0DkwTqSa//qithr9q++qCzQfUFkV7zWwIzjlKzbAMvDn/Y/nn5xfag2 WM6pCs2+F/ijziSVRwQnSTzKLvGgKUOurfb9Rhd3wOfK+IncDGQ0vesC0moBr5oCAYef LfX1D38Q5R9pj4rpuN6azH6pY8dPYko3/odQL1jihBrhJx+weO5xr3Ir782y+wHB5trJ JV8SpxNwl9KtwPLYpmYAMGkNp8nYP6x1azFJcRAraBEVqzX2B9hekt6+Co5rZI9uxw6L fxFw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id w19-20020a056a0014d300b00690ffbb46e6si1057956pfu.261.2023.11.16.19.38.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 19:38:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 0BDB98269C5B; Thu, 16 Nov 2023 19:38:31 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229790AbjKQDiF convert rfc822-to-8bit (ORCPT + 53 others); Thu, 16 Nov 2023 22:38:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjKQDiE (ORCPT ); Thu, 16 Nov 2023 22:38:04 -0500 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29B15B0 for ; Thu, 16 Nov 2023 19:37:57 -0800 (PST) X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 3AH3bkssF2847177, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.95/5.92) with ESMTPS id 3AH3bkssF2847177 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Nov 2023 11:37:46 +0800 Received: from RTEXDAG02.realtek.com.tw (172.21.6.101) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Fri, 17 Nov 2023 11:37:47 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXDAG02.realtek.com.tw (172.21.6.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Fri, 17 Nov 2023 11:37:46 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::40c2:6c24:2df4:e6c7]) by RTEXMBS04.realtek.com.tw ([fe80::40c2:6c24:2df4:e6c7%5]) with mapi id 15.01.2375.007; Fri, 17 Nov 2023 11:37:46 +0800 From: Ping-Ke Shih To: Dmitry Antipov CC: Kalle Valo , "linux-wireless@vger.kernel.org" , "lvc-project@linuxtesting.org" Subject: RE: [PATCH 2/2] wifi: rtlwifi: simplify rtl_action_proc() and rtl_tx_agg_start() Thread-Topic: [PATCH 2/2] wifi: rtlwifi: simplify rtl_action_proc() and rtl_tx_agg_start() Thread-Index: AQHaFkCHJjgR4syJtE6Im+/G8M9dnbB92ycg Date: Fri, 17 Nov 2023 03:37:46 +0000 Message-ID: References: <20231113144734.197359-1-dmantipov@yandex.ru> <20231113144734.197359-2-dmantipov@yandex.ru> In-Reply-To: <20231113144734.197359-2-dmantipov@yandex.ru> Accept-Language: en-US, zh-TW Content-Language: zh-TW x-originating-ip: [172.21.69.94] x-kse-serverinfo: RTEXDAG02.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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, 16 Nov 2023 19:38:31 -0800 (PST) > -----Original Message----- > From: Dmitry Antipov > Sent: Monday, November 13, 2023 10:48 PM > To: Ping-Ke Shih > Cc: Kalle Valo ; linux-wireless@vger.kernel.org; lvc-project@linuxtesting.org; Dmitry > Antipov > Subject: [PATCH 2/2] wifi: rtlwifi: simplify rtl_action_proc() and rtl_tx_agg_start() > > Since 'drv_priv' is an in-place member allocated at the end of > 'struct ieee80211_sta', it can't be NULL and so relevant checks > in 'rtl_action_proc()' and 'rtl_tx_agg_start()' may be dropped. > Compile tested only. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Signed-off-by: Dmitry Antipov Acked-by: Ping-Ke Shih