Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4243892imm; Mon, 30 Jul 2018 11:01:46 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdoYQHFEzbfcX+z/kZD+2JGqo99bhfRxrlVvwIhnwZdxkvzke6id8CZpzuolfhOtJiq8WZ+ X-Received: by 2002:a65:4888:: with SMTP id n8-v6mr17562085pgs.149.1532973706585; Mon, 30 Jul 2018 11:01:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532973706; cv=none; d=google.com; s=arc-20160816; b=xQBtu9wfw/C7QJ9UyqeAm7DR4+KnbiVhK1ASU6Cv5pygGJID117UDxcaUEiyKG+LCn DLSRykEV7ovQWjHc3X2lNuJyg4rCiZyQeLiHmt+VpN0oCBU3uDJj1zK6Rjavzl7vbEE1 IGuteWSjJvhZgZQsHvJN/gMH7cAGGraUp8bx5A4VXZ9gFagLCJyIWX7EgNoK/613JyCR 2k0gKSyZQzCgQA3u/2P7/wTbrc3yeT0eWfQW8/M4mxObrK9Mk4QouW3uN8EwfY6j/kWM /E367Os3wvShl6P30AiRviyQhqRoS5EMOOqdgXlbXVljJYiGXFugspkL7yyWVJg2WlWr aVtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:user-agent:cc:to :references:in-reply-to:from:subject:content-transfer-encoding :mime-version:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=jHifBeiN86TylU9WCYY5eC9f9xSG49nX7Sjy9ao3n9w=; b=ItBA1Srtoh9njMTZYZk61VwiMfWWaOa5bYDwhxlhsb89y/WNFD9N0bvPBsahcrSCN0 /ul3uTksCLVyAiRHyLyo0oGwTh5f+37ptceVIbotvw+Safh0Iqt3ZnguJxTcmP/U6TE/ jPJNNyGtJz4HbfpTyF0j6Kibsf7QgouQcxbb8Ee4E3o5xzLBRTwTRN+D+NaYALxbkgmz HeL43oksIN8EJnefdoigUZoJ0MaPl5Fuj4fhGShKAUFxIWwNo6KAZ40XL9Ago8H2OytE Px/gJX+MH2jG6NBlae12PPm85W/FdPMbKK90H4xsW6onIrFrICFinMt+wFqFesdml6Ji TVDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=j6p6nGTN; dkim=pass header.i=@codeaurora.org header.s=default header.b=Q9Eimkr2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b7-v6si12042284pfc.352.2018.07.30.11.01.08; Mon, 30 Jul 2018 11:01:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=j6p6nGTN; dkim=pass header.i=@codeaurora.org header.s=default header.b=Q9Eimkr2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731968AbeG3TfS (ORCPT + 99 others); Mon, 30 Jul 2018 15:35:18 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:37930 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727597AbeG3TfS (ORCPT ); Mon, 30 Jul 2018 15:35:18 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id AE84D60769; Mon, 30 Jul 2018 17:59:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1532973549; bh=XoQytGIinmUaOUlvAlU03eqOK4CyaWZYX2/ObWaCSrM=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=j6p6nGTNuj7ITTq2qofxYhE4IfBwFMN9Sv65q8tWthjicDlat6VHkhTh7PwfMWqDw WcAPStq2XSqNBBaF8S9GFA0nEoqKez0Tea5JwgA6PkgGnvQoXuUHbG9yg6JuVz0oF/ JOIIBhCWIBwyhnciBK7p+pb3O8KZKXKWlLznpJXA= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,MISSING_DATE,MISSING_MID,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-52.elisa-laajakaista.fi [88.114.240.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 3E2C060500; Mon, 30 Jul 2018 17:59:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1532973548; bh=XoQytGIinmUaOUlvAlU03eqOK4CyaWZYX2/ObWaCSrM=; h=Subject:From:In-Reply-To:References:To:Cc:From; b=Q9Eimkr2yBskKakQSkALMPyrZokKes5hmwMiGJyfDbbS9HsuDGQkAvctyLS/82AxR umzW1rCUebyAtQeBWU8GrXZJoQdOS+LfqSrpcZfnzM7yY2t9Cggxa656DOIcc5WhFX 9MNEMMFWbtBM671CDzNQwzOcp0hi6M/8M7mNEkzU= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 3E2C060500 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] ath10k: htt_tx: move lock into id_get function From: Kalle Valo In-Reply-To: <1531589900-29220-1-git-send-email-hofrat@osadl.org> References: <1531589900-29220-1-git-send-email-hofrat@osadl.org> To: Nicholas Mc Guire Cc: "David S. Miller" , ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Nicholas Mc Guire User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-Id: <20180730175909.AE84D60769@smtp.codeaurora.org> Date: Mon, 30 Jul 2018 17:59:09 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Nicholas Mc Guire wrote: > This is only code refactoring as all call sites of > ath10k_htt_tx_alloc_msdu_id() take the same lock it can be moved into the > id_get function and the assertion dropped. > > Signed-off-by: Nicholas Mc Guire > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. e82f57c8b970 ath10k: htt_tx: move lock into id_get function -- https://patchwork.kernel.org/patch/10524837/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches