Received: by 2002:a17:90a:9307:0:0:0:0 with SMTP id p7csp5164584pjo; Tue, 11 Feb 2020 05:10:32 -0800 (PST) X-Google-Smtp-Source: APXvYqwuZkHsG4/b3v/++pfp2R5eoNj45LITmCAqyHABRBQ30XNvXWeWdPuP3l1YXn4xYbq5KuIX X-Received: by 2002:a9d:65da:: with SMTP id z26mr5281640oth.197.1581426631966; Tue, 11 Feb 2020 05:10:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581426631; cv=none; d=google.com; s=arc-20160816; b=eiWrdW9ULsLvDrxFUeJEdYlzqqAVzgidHhdBH2kJd4UtOsIhMfcofCwjIi6P5+LzEY 0wa3ncaIurjkrMjjMwOdrAOONuSt+zLscky2SJ38ECz6R4WNsJoV9kgh79pE+tOCoYmO 13+k1GtG20sBBhhs/vt4zQ8VbJQv4f1bhza7sG3xxIl0NYgqA1+LDZYXrRSdu1pfJzDt 1UF+ZGZun+0PJcCf+e0VWPlusxAa45e6LtRNxq14S5wT7t7c5uI65aMtBJtM1Nl46i9S oJY1C9Hs30KA7AP+IPJzYYmlwW3WuUXIxbPJYPsVuZKWl6k7jAjfJ1TPqwIpznZJGAAM T3Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:dmarc-filter :dkim-signature; bh=r1jHmcnWOSlLIduWOd0dkPuv1x2mjdN9YR/CChlg6VM=; b=K5fveKFjVYSjumfiKcPA0Cl4BI1adbEOenj34flDW1hYmCgel60BykT3B6VNrefdXd drFqynyjR1LDvKAsV3XjtZrnWycCEwpQ2hTmB/mIZv+mNwUBs2HqgzHZlHlFZZGAU4SZ k8DIkjwq+AmIPqBTRVouyAcyybxtQwymQMMUCrQzeYdld2qpBzD+A44xx9WFB3bGX1xy rJEd8RIBa9L23tX+0PJx1fxg5FaPNNhA7PlbVucJMpPk4iW2QMGPJQIrrdJBUeyxm9u+ CE/N/f39v5flVCKV4zsHP3zFfovIaRtyDKJPxxnhIrUFhio4O/wEVq2z1SFZSD6Aq0z3 tjhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=hqtZiRpI; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-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 b15si2543206ots.99.2020.02.11.05.10.11; Tue, 11 Feb 2020 05:10:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=hqtZiRpI; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728666AbgBKNKK (ORCPT + 99 others); Tue, 11 Feb 2020 08:10:10 -0500 Received: from mail26.static.mailgun.info ([104.130.122.26]:44385 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727567AbgBKNKK (ORCPT ); Tue, 11 Feb 2020 08:10:10 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1581426610; h=Content-Type: MIME-Version: Message-ID: In-Reply-To: Date: References: Subject: Cc: To: From: Sender; bh=r1jHmcnWOSlLIduWOd0dkPuv1x2mjdN9YR/CChlg6VM=; b=hqtZiRpI8q5EPITAgFXAQUS1CSHZXcIc/xenPfmvpn0/16/j2IPNlA/IMj4nvuBiHLzMQo4B KTNo3ZqimQgy9n1d6WDZCugkIl+g02a+gyGdW53vbL25ilK2SG6hvlDmrBUMoUeXY5c6MceB uXm3U4zdnYaDXIxzwlBGtNJODs8= X-Mailgun-Sending-Ip: 104.130.122.26 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e42a7b1.7fd83ffd6e68-smtp-out-n03; Tue, 11 Feb 2020 13:10:09 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 82E45C4479C; Tue, 11 Feb 2020 13:10:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id DC258C43383; Tue, 11 Feb 2020 13:10:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org DC258C43383 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: John Crispin Cc: linux-wireless@vger.kernel.org, ath11k@lists.infradead.org Subject: Re: [RESEND V2 3/4] ath11k: switch to using ieee80211_tx_status_ext() References: <20200204151135.25302-1-john@phrozen.org> <20200204151135.25302-3-john@phrozen.org> Date: Tue, 11 Feb 2020 15:10:04 +0200 In-Reply-To: <20200204151135.25302-3-john@phrozen.org> (John Crispin's message of "Tue, 4 Feb 2020 16:11:34 +0100") Message-ID: <87h7zxxob7.fsf@kamboji.qca.qualcomm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org John Crispin writes: > This allows us to pass HE rates down into the stack. > > Signed-off-by: John Crispin > --- > drivers/net/wireless/ath/ath11k/dp_tx.c | 24 +++++++++++++++++++----- > 1 file changed, 19 insertions(+), 5 deletions(-) > > diff --git a/drivers/net/wireless/ath/ath11k/dp_tx.c b/drivers/net/wireless/ath/ath11k/dp_tx.c > index 7b532bf9acd8..66a6cfd54ad9 100644 > --- a/drivers/net/wireless/ath/ath11k/dp_tx.c > +++ b/drivers/net/wireless/ath/ath11k/dp_tx.c > @@ -357,9 +357,12 @@ static void ath11k_dp_tx_complete_msdu(struct ath11k *ar, > struct sk_buff *msdu, > struct hal_tx_status *ts) > { > + struct ieee80211_tx_status status = { 0 }; This adds a sparse warning: drivers/net/wireless/ath/ath11k/dp_tx.c:350:47: warning: Using plain integer as NULL pointer Seems like a false warning, no? But not sure how to shut up the warning, using '{ NULL }' would do that but just feels wrong. Any opinions? There was also a trivial checkpatch warning: drivers/net/wireless/ath/ath11k/dp_tx.c:419: Please don't use multiple blank lines -- https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches