Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1397064rdb; Wed, 20 Sep 2023 08:05:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFi8TsI8GV06LshvjhQcXG35dhNs+dcDvwr3PiIkmkb0dESyhbOqiXYaRrn2KzWUB1k96NW X-Received: by 2002:a17:902:74c6:b0:1c3:6163:210a with SMTP id f6-20020a17090274c600b001c36163210amr2411783plt.60.1695222316568; Wed, 20 Sep 2023 08:05:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695222316; cv=none; d=google.com; s=arc-20160816; b=SGCgXTJOiStAfJV/CKcd5X1BUbA5KTdE32RjJghWddbNBPbJU6Mg8/GehOfjP+5DWg LoIxJlklOxtfLfrehLmek6X6YZH6IuRisDEy1jGK5JsaHR0nEy73GREOipCBaJ5/qU70 +ek7fpDgMsoFkhIR0TAESf+ibTuFLoTmplth3Ed+a9ntF0GJfx54A1W25x2gUpFSAFHs F1Ow/mn/YNSCX+2A2/cf7W4YOHSbyn0QhhqUOjntv8QcmzMu9aM17kwLaTqnDEqFRAKD +LqY/9i5bxd6hNqkbHFgfzr62ZTaG6mewgROjFu4PU7+yjyAEGcE10EhD6YRxWuBEKux r67A== 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=yEhpBIPp8TKGybIXsHn1I7z5LIqalesh2//Qs0ZiFCk=; fh=RgQBKYFtAxlWADWlK2fBwqIhVjBcRiDjMAsPebGK04Q=; b=wySTjzG/dMCCqGrGAoWY48eBEjtUL/CsYs4mH5XMR3fZoS+BVU3IBXT62p2ayw6ag3 lCciNihJH9+9Y2jE1ihrB+h1ViwUgDk+I+A+oRLzvEN8+ptQUj1qdBB1tXvaoO3CxwQT eTXtpEQZzN44avl81TvUiUMrRQ/kKOJ3Na3+GtArFb2KIPvATbtPAPFIy9xLoz6zym+A Bts96QbTcRGwLEMiU1gP7BVHEVGw6XC2Wnhxwxov4pQGRhVQue0sjL/9MI3yDlsQielb jFuXhi+KLdP87cZ7pWypmwzgvUkzaZAWAmuMvh/3zdsDZ0TSd8uOYnIwQpNGcTbK6Jq0 iAvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=H1BGfj0t; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id h12-20020a170902f54c00b001b9ea0f0e8esi12550005plf.650.2023.09.20.08.04.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 08:05:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=H1BGfj0t; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id CFA5D8374E76; Wed, 20 Sep 2023 07:52:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235194AbjITOwq (ORCPT + 56 others); Wed, 20 Sep 2023 10:52:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235086AbjITOwn (ORCPT ); Wed, 20 Sep 2023 10:52:43 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1FEA91; Wed, 20 Sep 2023 07:52:37 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CADFC433C7; Wed, 20 Sep 2023 14:52:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695221557; bh=5h6v16wWKhONz72yVfPnsD86/kim+Vey7bcx5sp9XPw=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=H1BGfj0tjIThLBRbQg1ItMQ3Ju2K+XPPDe3C5H2KlmI88xRnwSjHZltwSGjWGQDTn Hz+lKxfdNxKpN+fMYhTSOm/7uuiX0n5H4muLu3dtYhbiXDNytLCfSXTP0tTeZqfIB0 3Utoa4RnTSjOe50PQWHNtQ/W/mGaEgtO/2tC3oer65fgBtzbWMjaGVkieF1iiomoDr nCqKQZwSmLd1yg4z0xr66clgZDgQlkB5KWtKCBVEHLiwaaKYTakZAIm2V1pzWTlou/ cV5s+YiBtBjlZd+7+bUFPMj4B8+oSLVlVt0ptF0jgwOFURs6wQ5duwOj4u3w37VZ7C 4krVl8Seq4tNw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v2 wireless-next 7/9] wifi: ath12k: Remove unnecessary (void*) conversions From: Kalle Valo In-Reply-To: <20230919045142.524226-1-yunchuan@nfschina.com> References: <20230919045142.524226-1-yunchuan@nfschina.com> To: Wu Yunchuan Cc: quic_jjohnson@quicinc.com, ath12k@lists.infradead.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Wu Yunchuan User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169522155403.1418260.5064455550425202498.kvalo@kernel.org> Date: Wed, 20 Sep 2023 14:52:35 +0000 (UTC) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (howler.vger.email [0.0.0.0]); Wed, 20 Sep 2023 07:52:44 -0700 (PDT) Wu Yunchuan wrote: > No need cast (void*) to (struct hal_rx_ppdu_end_user_stats *), > (struct ath12k_rx_desc_info *) or (struct hal_tx_msdu_ext_desc *). > Change the prototype to remove the local variable. > > Signed-off-by: Wu Yunchuan > Suggested-by: Jeff Johnson > Signed-off-by: Kalle Valo This added new warnings: drivers/net/wireless/ath/ath12k/dp_mon.c:25: line length of 92 exceeds 90 columns drivers/net/wireless/ath/ath12k/dp_mon.c:26: line length of 95 exceeds 90 columns I fixed them in the pending branch by renaming ppdu_end_user to stats and moving rx_user_status to it's own line: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?h=pending&id=5c0910fdf1d800f1aeb8ab3e860e61bebec0091b No need to resend because of this. -- https://patchwork.kernel.org/project/linux-wireless/patch/20230919045142.524226-1-yunchuan@nfschina.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches