Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2342189rdb; Tue, 10 Oct 2023 00:27:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEtxHKFAR+aW4bC/5Pwd3Wxx3foJ69MqMI24J854O0NeHH6DKWC4poOaFvRUjGuUHlEu0Bf X-Received: by 2002:a05:6a21:181:b0:165:186:1560 with SMTP id le1-20020a056a21018100b0016501861560mr19228597pzb.53.1696922851687; Tue, 10 Oct 2023 00:27:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696922851; cv=none; d=google.com; s=arc-20160816; b=1CGdFFWj8f9x8hsVqXSVP+jeHIEa7XYcljGlidM7Ov0O7QrcT5IXaVRH4uMBW89IfD dybd4j7O1MafeTBVxunayvJY2CMkCtc5VUmZpjYgQn4G7LnTh795050haTeeZ2F6E5V6 qxvg9IP24lkAW4NR92K+gc3G8IGz2mNCmldpeIoV+w29bSFcrxCg18pHHx+JM6NBppAR qpTjotBhQZz68qC3Vd0nVGxvAzvmvqP0kDwb0KaCRG8+tdPQ2+ne39vL0vjISSxZspgf jAdiobPh5SEhs+v9a1bAULD9gEf4WgqoaIcm7GLtTQjftPKdSeOUytg0G8gXp722Pohl 6Lmw== 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=hOmn8gX001SU/R2pYJzB8jbNgrGiVOcNaSqA/n9YyiY=; fh=hOlNCe6JnxyqDAD+Mh2Kgp9q2Z/M5zK1xhKt3xVRAwU=; b=pP/A4fEKfpIHC+ToclGl1LkGY6JcBhXa2vhRRMKAsamKk83kiej7XcHO6jKuHA9jT8 Bp7Y5XkyQlXsrYiP9/Z4ahB4IhrlQ6VsUmDLmPQV8VxhdfT7ggHfVgbQIy2YGcLfOn9b RUqEp9Y44N18zwmb2cFTAgjuo4ohvKRWM77tT4CsxUKo7gJKpKMq4vJEDDQw78MoeKlf DGJbXmdj0TsLjsy8uXeZhrX05LzutcC4yYFe+OF+9mGJMRRLQ3QpKjYWmp00E5/yFtT0 4FnccIz0M8UVUKe1937ODF8JfWi21gCNJOKuPHOGzrfwVCWYUzRAoV2in1S8mF9p21cQ +2Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZjUd9XjI; 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 h1-20020a63df41000000b00578cbee11e2si11445383pgj.642.2023.10.10.00.27.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 00:27:31 -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=ZjUd9XjI; 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 5C7998075B1E; Tue, 10 Oct 2023 00:27:27 -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 S1442584AbjJJH10 (ORCPT + 52 others); Tue, 10 Oct 2023 03:27:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442663AbjJJH1R (ORCPT ); Tue, 10 Oct 2023 03:27:17 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C96DE35BB; Tue, 10 Oct 2023 00:25:32 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 434B8C433C7; Tue, 10 Oct 2023 07:25:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696922731; bh=dsCZmko66D3I+q0qFacuady/BZUkjXk+jklN8wRloNo=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=ZjUd9XjIf3+GJhrLG21e4SoChwZb4r6IPXzxVLEAgP0bzhj5oYKSVyzOP5UDUqfSF w/WRhciTfr+SoC4epz3u7sJC0tq5ACwAJNOTD0bKS/7AJdbADkVQDQGAirRO/sHCPO XZtc9g2J3WXE3XI5DLaFs6mfYLpAvR/jQeKjRt6rf/GefJWEPxn0A0+sI5RwkSRWwY vB/X40PbgsfX9NjEs7suul/REky4do1/N+GijCGI5Jm21l0qyx6Nlbc9HBkJ7+uoWL Wqy3qBkxvsYE7Jkpx0h7jC8cF/2PPvHzeIlUhLgi/2FaSfVhvE9zPI83Fo9CKs+9D8 4PLQXr8UQ3a4g== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: ath12k: Consistently use ath12k_vif_to_arvif() From: Kalle Valo In-Reply-To: <20231004-ath12k_vif_to_arvif-v1-1-3f38f6882d33@quicinc.com> References: <20231004-ath12k_vif_to_arvif-v1-1-3f38f6882d33@quicinc.com> To: Jeff Johnson Cc: , , , Jeff Johnson User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169692272808.2589238.531453282923447433.kvalo@kernel.org> Date: Tue, 10 Oct 2023 07:25:30 +0000 (UTC) X-Spam-Status: No, score=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no 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]); Tue, 10 Oct 2023 00:27:27 -0700 (PDT) X-Spam-Level: ** Jeff Johnson wrote: > Helper function ath12k_vif_to_arvif() exists to retrieve a struct > ath12k_vif from a struct ieee80211_vif. However, in multiple places > this logic is open-coded with inline typecasting. Since the > typecasting prevents the compiler from type-checking the source and > destination, update the driver to consistently use the helper > function. > > No functional changes, compile tested only. > > Signed-off-by: Jeff Johnson > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 13556aef0bdc wifi: ath12k: Consistently use ath12k_vif_to_arvif() -- https://patchwork.kernel.org/project/linux-wireless/patch/20231004-ath12k_vif_to_arvif-v1-1-3f38f6882d33@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches