Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp34826rdh; Mon, 18 Dec 2023 10:44:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IH/uj4p9n8K/HnWkmEgtPDXHAsK6tqS3hQNxtG+gXECZmqtvz8OohnvKEM6tB/WXtk8p5UT X-Received: by 2002:a17:906:3609:b0:a23:57ee:68d2 with SMTP id q9-20020a170906360900b00a2357ee68d2mr949209ejb.147.1702925087952; Mon, 18 Dec 2023 10:44:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702925087; cv=none; d=google.com; s=arc-20160816; b=GErWZgK8D0Q7D7NeAzAznvGGbUYvNcXjO1TCTGDXSYfHeu5WlyJcvKVpy3keP4mhyz iyMQ5LZHJuQMSpF+L9zrx5/sN+R48mV2iPZlgPpRHtcRu5kdE5pcLADP5p+UwOflntwW HGa0lqtRSa/gjshagz20HpcOQ0TSSsv1B2ejXZxQSgODMq/PzL5LgBEj2ZO0coFGtCQl Gljj4l4ol2a5RajrXuSTb2+kk+ntumhVZZsLVw+h8Vc2aVg78mtx4qmtpw+tb9oWL1V4 3NGzuABevNUe9pQYq+637Hs9RaVmRsEndzacmaZ4zowTRgkwqPq91Hz6FoNisHG+Q/5Q 3seg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:user-agent:cc:to:references:in-reply-to:from :subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=0d4MfeQUKe4F0I4ZhZXnT7thLTe7EN4vFB+19Rcf6p4=; fh=ZeoHeEZu3RElia1Z1A++Rphj/Gj90As8ysDqkwWZqfU=; b=S7dfHzSc13Vvjw603CX9O2aMy0WIQpVifZUWECSDhOtRPgcMskknQWHresqkcoZs0r wBq1pICDmZAXS68dAqnmL/YHrvkEGHwsw08jK5qInAPLS3Nf1NfgGYGXMvFEdnQhLWrt En6CP5SLdF1Uhl/5806Eu8PxdWNmOHDuLYY0WjFFFfdxVuMtMGnIPAbFPz+DeNIA/AUI AqC1sdG/d/KWD/0b2V6NWFPYyfJNkWotlxcYLmpXN1DxciqDmJlt5ouGTbUZRh4G8QJS o4XjfsLC94EovqjrfYYz+vn6KsdRtZUtp3nj/Cw/uW86F3OvcPse6R/b/BNeDvn4uZZO DO9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="POYUIj/v"; spf=pass (google.com: domain of linux-wireless+bounces-941-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-941-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id q23-20020a1709066b1700b00a22eba0b564si5825174ejr.288.2023.12.18.10.44.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 10:44:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-941-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="POYUIj/v"; spf=pass (google.com: domain of linux-wireless+bounces-941-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-941-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 888AC1F22EE5 for ; Mon, 18 Dec 2023 18:44:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 04FF11EB48; Mon, 18 Dec 2023 18:44:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="POYUIj/v" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DAE272904 for ; Mon, 18 Dec 2023 18:44:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 67B93C433C7; Mon, 18 Dec 2023 18:44:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702925083; bh=NGuNSjG3GpRDsmzB697NZvdaUjGYKur8lWQ0lXASCKk=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=POYUIj/vVR+NUvHxWncubKcu3u8Z4ph5xqp2ZieOkiLxVqwXWkCGF+SrjBXO6GBuA iZWU5uVrTbFuP8jwC6FpX6hNOeaPMdZqaOnPZqtY2FD6RLrJwh35mkW81RckPk/eDF K0+dEM4LOa/XK9VilX+kzOJWhOxlW5MIjvKCCgAKIa64WRk5022uZ3c5MSXNxSaoHQ /neB3cXEifgYGNcz9CZcj545k0ub5kTdpFdgaNncT3nGwBZp0f0FphwX5/CYTTa1en P32/ZYFGZp6upBg1lgFIwvgOeuxD2jmkYSNXLkGxoxfSQ1tkabRVwGqXejRhaGojgx hN5hHfto7rIJQ== Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: ath11k: refactor ath11k_wmi_tlv_parse_alloc() From: Kalle Valo In-Reply-To: <20231214161117.75145-1-dmantipov@yandex.ru> References: <20231214161117.75145-1-dmantipov@yandex.ru> To: Dmitry Antipov Cc: Jeff Johnson , 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: <170292508051.424292.9967717301643668633.kvalo@kernel.org> Date: Mon, 18 Dec 2023 18:44:42 +0000 (UTC) Dmitry Antipov wrote: > Since 'ath11k_wmi_tlv_parse_alloc()' always operates on > 'skb->data, skb->len' tuple, it may be simplified to pass > the only 'skb' argument instead (which also implies > refactoring of 'ath11k_pull_bcn_tx_status_ev()' and > 'ath11k_pull_chan_info_ev()' in the same way). Compile > tested only. > > Signed-off-by: Dmitry Antipov > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. f5e6c0c4b087 wifi: ath11k: refactor ath11k_wmi_tlv_parse_alloc() -- https://patchwork.kernel.org/project/linux-wireless/patch/20231214161117.75145-1-dmantipov@yandex.ru/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches