Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp128790rwi; Wed, 2 Nov 2022 10:04:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM53vHRaye0GuAGp7Q9AHolAhx3dxF6i4XZJeUK4ZyoPzc7KWv+eBRSjRQuCqofPFLirmZyO X-Received: by 2002:a65:5809:0:b0:46f:6afe:77a8 with SMTP id g9-20020a655809000000b0046f6afe77a8mr22073426pgr.206.1667408664596; Wed, 02 Nov 2022 10:04:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667408664; cv=none; d=google.com; s=arc-20160816; b=zGcgGthPxOGy1yA/MaGnAtLZvqd5wlNDtIEj8Xa3+zxwtfXyfVoFOgLokce4duqirE xs3bf5wQ8mT5XH68McKVct0J69wiX25lWWl5/RKAOuBAsI322mbr7zNNoVj6IMr7Jmd0 zCMTRti5Cge0+E3KC1Ziki+8k32X8gbPNu3uNQxlN1h7pUZY/r2kHdOnNOQafarb/WwR RuaEyPAWwkPiCY4dYqW5kT/9HXuhMJQ27TrUzchLqDKE6nuGaJ/fGsieTkjb3C5VN+Na +/aIiRXv6OgdmQ3aEwzEjJLqWIiBUI8+2TuCHF6zrEUmxRcj/MTaz2aBxsIRtriqnM2f pdqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=Wi0nbI9VUmT0e+22BuR86fqHa18QGw6747UcR1aaoCo=; b=NubfNy7guk6VPTl8nWPxezNViRQ06I6ZFbfLr3rzQeRtD2S+4DEgfkSg9x7IrtCvff iIW86QwlnV9HLtKy16txbSJn5uQqjwrW724VEFsOwAWhDIEJXGa5GHUGObySn1vx/sOy /CFS2RAs53kyDIkWpG3WSyfu+Q3mcUYwJV2ZcOlihEOTiqqRyKVliClTir51dTcUD5EM +PH3zl2fiwZ+QyncmrQQjhssVioE6AzliSDh7qh1tTAC3X68g68vWxl1/tzTADYRLMra Tdb18aO7LGlzEtPiqzlynelgfFxetTT1TBbaHvhgcDeFJIGw1tE4zRKVTeE5cVwNoUDh YTFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bm6Ph2Cb; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m4-20020a170902d18400b00185569697d7si14270729plb.376.2022.11.02.10.03.49; Wed, 02 Nov 2022 10:04:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bm6Ph2Cb; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231287AbiKBQwR (ORCPT + 66 others); Wed, 2 Nov 2022 12:52:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229551AbiKBQwQ (ORCPT ); Wed, 2 Nov 2022 12:52:16 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A186B51; Wed, 2 Nov 2022 09:52:15 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 286E461A8E; Wed, 2 Nov 2022 16:52:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E0CEC433C1; Wed, 2 Nov 2022 16:52:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667407934; bh=sXtRjTK2mDtmiAA5R3kBj+6rdwU5KpPOdCfNoWca9qg=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=bm6Ph2CbSZpLId2m08s1AGZXc4Zv+INVO7HhiiZYyEYMffFnQbBawkP61O/kUkbmb ed0G0bsu+zDggK2zemJQ/n6ByOFeJvbapQxpIF+5lm9+TveK9teTFgwD3vrvLRvGRQ AYEQbw6oQNDQHNDGeSsXG33kmrL1NJhXDDDdxkDepZRsR9aqkpi93iyaOx6s7bWPQN Uvl7Pf+zJRGKU7scYv3KOa0k/b1/zbEAqjOsNnqBhi6U4MdAE5HhkuweZ2wTmA4cFS weMe2iCOn+PlPTYIolsTU+KuFj5DpBb6Do36f3ryY/vL5bWcK3RKS0FG3Sx46Uol6q Vpd+qI+w73xrg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] ath11k (gcc13): synchronize ath11k_mac_he_gi_to_nl80211_he_gi()'s return type From: Kalle Valo In-Reply-To: <20221031114341.10377-1-jirislaby@kernel.org> References: <20221031114341.10377-1-jirislaby@kernel.org> To: "Jiri Slaby (SUSE)" Cc: linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" , Martin Liska , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , ath11k@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <166740792692.20386.4779272467939559487.kvalo@kernel.org> Date: Wed, 2 Nov 2022 16:52:11 +0000 (UTC) X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org "Jiri Slaby (SUSE)" wrote: > ath11k_mac_he_gi_to_nl80211_he_gi() generates a valid warning with gcc-13: > drivers/net/wireless/ath/ath11k/mac.c:321:20: error: conflicting types for 'ath11k_mac_he_gi_to_nl80211_he_gi' due to enum/integer mismatch; have 'enum nl80211_he_gi(u8)' > drivers/net/wireless/ath/ath11k/mac.h:166:5: note: previous declaration of 'ath11k_mac_he_gi_to_nl80211_he_gi' with type 'u32(u8)' > > I.e. the type of the return value ath11k_mac_he_gi_to_nl80211_he_gi() in > the declaration is u32, while the definition spells enum nl80211_he_gi. > Synchronize them to the latter. > > Cc: Martin Liska > Cc: Kalle Valo > Cc: "David S. Miller" > Cc: Eric Dumazet > Cc: Jakub Kicinski > Cc: Paolo Abeni > Cc: ath11k@lists.infradead.org > Cc: linux-wireless@vger.kernel.org > Cc: netdev@vger.kernel.org > Signed-off-by: Jiri Slaby (SUSE) > Reviewed-by: Jeff Johnson > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. dd1c23226945 wifi: ath11k: synchronize ath11k_mac_he_gi_to_nl80211_he_gi()'s return type -- https://patchwork.kernel.org/project/linux-wireless/patch/20221031114341.10377-1-jirislaby@kernel.org/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches