From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5B4F4C4338F for ; Sat, 31 Jul 2021 08:38:44 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1E1A16103B for ; Sat, 31 Jul 2021 08:38:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1E1A16103B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:In-Reply-To: Date:References:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ZU75cPRLR4dYq+rk1FfG16qbia+oqruhQIdBONe8tKg=; b=2iJnQVsjsqrBgG 6KsrTKu0h1H4KkDI9CSrjoLeoy2Ezp4qyCu8BeQDCW3aO5jl6QfN7dXv7BOVzUYUIKBTyjWxEZWOr MdxOkajUWnSGTzisYSwLEtZJz5ld/Hn3iIh3kWjELp6gP/FalK1An1vMWEkqFtVUVNR7uIgyohG2f aM8TDMVgqKgYcSmgp5Jf3QOZrgYiQD5IUvebhTZLkE5IqZbUz/mmnMQ6Qv2WuhnPNFM6/+rqfFyFR 6LdLUbccylKJ+GmDXx/mcQJ+jrNHQVS8OeK1loVG8tzxOeQitzuwqoBOVrk+I4aQAxQIcRV+OZHFI CUTdRdbidpntoUSAMNMA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m9kVp-00BHR6-6m; Sat, 31 Jul 2021 08:38:29 +0000 Received: from so254-9.mailgun.net ([198.61.254.9]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m9kVk-00BHQa-EA for linux-mediatek@lists.infradead.org; Sat, 31 Jul 2021 08:38:25 +0000 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1627720702; h=Content-Type: MIME-Version: Message-ID: In-Reply-To: Date: References: Subject: Cc: To: From: Sender; bh=GmmWfCUra51DdcDZI83pLqJ9O3jdxFx8YXjXVt6UXbw=; b=GtajRgfaqGaAyvqpTX95h9R8ZcgtHeFYpIJr6MDDNXf/hdVVTLNbjLBQX+DLl10+OeT2L7Mz XKUCbv7Vh1c36UbH84sC5Tm+kyqeW3TYYrpstSCa/RPv34gcTi1syZaf/DSpuer3M4E/pQlh bcXDUVswSXrwBFS/qqrKXnYr8+M= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI0ZDIyMyIsICJsaW51eC1tZWRpYXRla0BsaXN0cy5pbmZyYWRlYWQub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n03.prod.us-east-1.postgun.com with SMTP id 61050bfd1dd16c87880a6204 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Sat, 31 Jul 2021 08:38:21 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 7F18DC4323A; Sat, 31 Jul 2021 08:38:20 +0000 (UTC) Received: from tykki (tynnyri.adurom.net [51.15.11.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 98AC2C433D3; Sat, 31 Jul 2021 08:38:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 98AC2C433D3 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: Arnd Bergmann Cc: Felix Fietkau , Lorenzo Bianconi , Arnd Bergmann , Ryder Lee , "David S. Miller" , Jakub Kicinski , Matthias Brugger , Shayne Chen , Sean Wang , Soul Huang , Deren Wu , Xing Song , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mt76: fix enum type mismatch References: <20210721150745.1914829-1-arnd@kernel.org> Date: Sat, 31 Jul 2021 11:38:11 +0300 In-Reply-To: <20210721150745.1914829-1-arnd@kernel.org> (Arnd Bergmann's message of "Wed, 21 Jul 2021 17:06:56 +0200") Message-ID: <87tukaev4c.fsf@codeaurora.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210731_013824_570984_CF3BA846 X-CRM114-Status: GOOD ( 14.78 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Arnd Bergmann writes: > From: Arnd Bergmann > > There is no 'NONE' version of 'enum mcu_cipher_type', and returning > 'MT_CIPHER_NONE' causes a warning: > > drivers/net/wireless/mediatek/mt76/mt7921/mcu.c: In function 'mt7921_mcu_get_cipher': > drivers/net/wireless/mediatek/mt76/mt7921/mcu.c:114:24: error: implicit conversion from 'enum mt76_cipher_type' to 'enum mcu_cipher_type' [-Werror=enum-conversion] > 114 | return MT_CIPHER_NONE; > | ^~~~~~~~~~~~~~ > > Add the missing MCU_CIPHER_NONE defintion that fits in here with > the same value. > > Fixes: c368362c36d3 ("mt76: fix iv and CCMP header insertion") > Signed-off-by: Arnd Bergmann > --- > This problem currently exists in 5.14-rc2, please ignore my patch > if a fix is already queued up elsewhere. Should I take this to wireless-drivers? Felix, ack? -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek