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.4 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 200FCC4338F for ; Fri, 6 Aug 2021 07:57:41 +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 DA57560EBB for ; Fri, 6 Aug 2021 07:57:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DA57560EBB 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:Date:Message-Id:Cc:To:References: In-Reply-To:From:Subject:MIME-Version:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4zYuqRnwI/UljnnbXc06lZUlPJ5uG2iGqrct5LQg1IU=; b=ikS22M9wFH2HyH YiiWDNC3Pr5Lto+cMQxyIUWzBzYEPPnZMB9avUS2QPV6p9YJ2iksk6oGipqfUzlbewgv7N7BUOecI gPCHm5yMZZ2o4PLtwOHe2mZGOpzpdNVH3rsPEL6DaHvgT9NSzTcV9UpI5pY/xiAsPbJtSy21znfhP V2mvx+T1rZpJPHkIKicaIjS0aPESYQHlzUbGJ2E5eFJi2VILkH42yiX5Tk9m3v2zBlFR5h4ENwcGF OsYABtMFTW1WVlexU5MiNZNtS/CqZwah0N/Kxp2IBANhApbGn7RhhqVqVhn8QvZuUCdBl9s/7Z1eH zTwL/8pZwtXxUvnFPhyQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBujP-00BoF9-LK; Fri, 06 Aug 2021 07:57:27 +0000 Received: from m43-7.mailgun.net ([69.72.43.7]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBujM-00BoET-Kw for linux-mediatek@lists.infradead.org; Fri, 06 Aug 2021 07:57:26 +0000 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1628236643; h=Date: Message-Id: Cc: To: References: In-Reply-To: From: Subject: Content-Transfer-Encoding: MIME-Version: Content-Type: Sender; bh=J6PBzDHz2JLjAPZzxlx7hTcbbesUbDjh8NFkE0SzyZA=; b=QqAqKo+LlT5RfpZIsHsx+54GatZFLUbJwNlX59kbnsKpg5nnO/v6T2+jjDK+aovjDv62KmrO WjfX7SEOzfmWWGXBCXptfF4maFIvaXDAj9yB2URYN/ayIm1I+mAFBaAM4HnBTHguo+IDdh8s lLMTDcV3rs7uOIAKIai9PvhTF5U= X-Mailgun-Sending-Ip: 69.72.43.7 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-n02.prod.us-east-1.postgun.com with SMTP id 610ceb62b4dfc4b0efea220f (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 06 Aug 2021 07:57:22 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id A7EACC433D3; Fri, 6 Aug 2021 07:57:21 +0000 (UTC) Received: from tykki.adurom.net (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 C7C26C433F1; Fri, 6 Aug 2021 07:57:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C7C26C433F1 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 MIME-Version: 1.0 Subject: Re: [PATCH] mt76: fix enum type mismatch From: Kalle Valo In-Reply-To: <20210721150745.1914829-1-arnd@kernel.org> References: <20210721150745.1914829-1-arnd@kernel.org> 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 User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-Id: <20210806075721.A7EACC433D3@smtp.codeaurora.org> Date: Fri, 6 Aug 2021 07:57:21 +0000 (UTC) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210806_005724_808614_C78EAFCA X-CRM114-Status: UNSURE ( 9.84 ) X-CRM114-Notice: Please train this message. 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 wrote: > 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 Patch applied to wireless-drivers.git, thanks. abf3d98dee7c mt76: fix enum type mismatch -- https://patchwork.kernel.org/project/linux-wireless/patch/20210721150745.1914829-1-arnd@kernel.org/ 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