Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp164361pxb; Thu, 14 Jan 2021 02:44:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJyrrHfx2dxdlA9Kl6K4bhk4HA+r9uhWy2HSvLb7i2xeGWKoB93ndm1rHkeLi0KXvRREnIXd X-Received: by 2002:a17:906:653:: with SMTP id t19mr4793637ejb.44.1610621060251; Thu, 14 Jan 2021 02:44:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610621060; cv=none; d=google.com; s=arc-20160816; b=Zv1Eg31JlhfrVWCmgQ7XeP83FxiejCggiV/rdaiDynYDTEc5WsZ3n+PIFB7g7Oeci/ 8EMJRzLazIWiVI/nJHdmnukJahOgwjAhYuS9zz03LpRxychO/2RWHUPjcW1LrJWdtzzW PlUfheemh5LTay5MKv+nfBHrPh6N1yISH9lR5hAI+XOmaAihm5ekmB8bTqZw++TysXeE 0DiT9gdJ8KOgij5Xn3Nk65dUjGM52VVbZV1Gd4jB/MBM+Xn4D+/f6imS3rzOqUqTOL4n bFK5yfasv1OBQQJU5+LV4fau11B2uQLrjLXTmm5j563U9JqiMj/+dpemnNt7ymKscbne 10OQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dmarc-filter:sender :dkim-signature; bh=Ewr4qiPEPbjem+/JZM1UEucGnjWoLnUoMQkWOHKR93M=; b=cKyGzYjgDxM3UpNjGKzKP9vvL0snaD8VcZbkiAxZY0PGaxj6K8M7YlhOV8ekNLt3s9 lhgLa5FNFGJqKYFXYFolzh9q0b0eb2ZpOKvjscLuiIZchThptSTSMSgmhHioGaboxPa1 sN8z+EJLM5fr2m1KfNyeL0nJrLAJInP8i81jO8Fwg3r0VE/YQoFtr3zrn5JTfZ0Qiiil T6IWmPnRPQxXEMTF/bcM0pylxzlSPvoBXAvT9miVEtNkK7TNShFgWfdYo3fOlNmLi4Iz VGVAH2C1Ysc2Iw5cQrUuT2NmKJiBe9M4R7SlkBpeXP78rtUewpmShjRtDDiZ/K6KyRRG vJgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b="mWQCFrQ/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d92si2507695edd.33.2021.01.14.02.43.55; Thu, 14 Jan 2021 02:44:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b="mWQCFrQ/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728673AbhANKmz (ORCPT + 99 others); Thu, 14 Jan 2021 05:42:55 -0500 Received: from so254-31.mailgun.net ([198.61.254.31]:16003 "EHLO so254-31.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725982AbhANKmy (ORCPT ); Thu, 14 Jan 2021 05:42:54 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1610620950; h=Content-Type: MIME-Version: Message-ID: In-Reply-To: Date: References: Subject: Cc: To: From: Sender; bh=Ewr4qiPEPbjem+/JZM1UEucGnjWoLnUoMQkWOHKR93M=; b=mWQCFrQ/33RYN7UtJG383sHF60g61JK/SxxOgweDi63CgHBChfutEqMioJUb391pGgSpLZQm /kL7PI2XK4ZND5ZMZySBh03NKGEVo1sXF+ESLUSdt7VgKUyI4fD0HFlmqtK1oMzN48a6GydK cQcdACkrzyYRKRjH25YEnBEDQj0= X-Mailgun-Sending-Ip: 198.61.254.31 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n05.prod.us-west-2.postgun.com with SMTP id 60001ff5415a6293c53ee0ef (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 14 Jan 2021 10:41:57 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id EFFC4C433C6; Thu, 14 Jan 2021 10:41:56 +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=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL autolearn=no 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 55118C433CA; Thu, 14 Jan 2021 10:41:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 55118C433CA 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=fail smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: Felix Fietkau Cc: Lorenzo Bianconi , Nathan Chancellor , Lorenzo Bianconi , Ryder Lee , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com Subject: Re: [PATCH] mt76: Fix queue ID variable types after mcu queue split References: <20201229211548.1348077-1-natechancellor@gmail.com> <20201231100918.GA1819773@computer-5.station> <87k0sjlwyb.fsf@codeaurora.org> <9af48c35-c987-7eb4-e3a1-5e54555f988b@nbd.name> Date: Thu, 14 Jan 2021 12:41:51 +0200 In-Reply-To: <9af48c35-c987-7eb4-e3a1-5e54555f988b@nbd.name> (Felix Fietkau's message of "Thu, 14 Jan 2021 10:24:30 +0100") Message-ID: <87v9bzhkb4.fsf@codeaurora.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Felix Fietkau writes: > On 2021-01-11 09:06, Kalle Valo wrote: >> Lorenzo Bianconi writes: >> >>>> Clang warns in both mt7615 and mt7915: >>>> >>>> drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:271:9: warning: implicit >>>> conversion from enumeration type 'enum mt76_mcuq_id' to different >>>> enumeration type 'enum mt76_txq_id' [-Wenum-conversion] >>>> txq = MT_MCUQ_FWDL; >>>> ~ ^~~~~~~~~~~~ >>>> drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:278:9: warning: implicit >>>> conversion from enumeration type 'enum mt76_mcuq_id' to different >>>> enumeration type 'enum mt76_txq_id' [-Wenum-conversion] >>>> txq = MT_MCUQ_WA; >>>> ~ ^~~~~~~~~~ >>>> drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:282:9: warning: implicit >>>> conversion from enumeration type 'enum mt76_mcuq_id' to different >>>> enumeration type 'enum mt76_txq_id' [-Wenum-conversion] >>>> txq = MT_MCUQ_WM; >>>> ~ ^~~~~~~~~~ >>>> 3 warnings generated. >>>> >>>> drivers/net/wireless/mediatek/mt76/mt7615/mcu.c:238:9: warning: implicit >>>> conversion from enumeration type 'enum mt76_mcuq_id' to different >>>> enumeration type 'enum mt76_txq_id' [-Wenum-conversion] >>>> qid = MT_MCUQ_WM; >>>> ~ ^~~~~~~~~~ >>>> drivers/net/wireless/mediatek/mt76/mt7615/mcu.c:240:9: warning: implicit >>>> conversion from enumeration type 'enum mt76_mcuq_id' to different >>>> enumeration type 'enum mt76_txq_id' [-Wenum-conversion] >>>> qid = MT_MCUQ_FWDL; >>>> ~ ^~~~~~~~~~~~ >>>> 2 warnings generated. >>>> >>>> Use the proper type for the queue ID variables to fix these warnings. >>>> Additionally, rename the txq variable in mt7915_mcu_send_message to be >>>> more neutral like mt7615_mcu_send_message. >>>> >>>> Fixes: e637763b606b ("mt76: move mcu queues to mt76_dev q_mcu array") >>>> Link: https://github.com/ClangBuiltLinux/linux/issues/1229 >>>> Signed-off-by: Nathan Chancellor >>> >>> Acked-by: Lorenzo Bianconi >> >> I see that Felix already applied this, but as this is a regression >> starting from v5.11-rc1 I think it should be applied to >> wireless-drivers. Felix, can you drop this from your tree so that I >> could apply it to wireless-drivers? > > Sure, will do. Thanks. I now assigned to me in patchwork and will apply to wireless-drivers soon. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches