Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3240267rdg; Tue, 17 Oct 2023 08:32:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGCryafevXrqomk38VV91olbQ1/IfDD56hv61EEcHgjKsYrdyl9lC90bP6+/KpzBxXgPCFl X-Received: by 2002:a17:902:ec92:b0:1ca:82f0:131a with SMTP id x18-20020a170902ec9200b001ca82f0131amr2827029plg.19.1697556723161; Tue, 17 Oct 2023 08:32:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697556723; cv=none; d=google.com; s=arc-20160816; b=KSrjc0MJlk2CRpCKYur53+KPfovfUZIS9VPBWboaQRcVHq83bgxpG1hR7eeHIYKnLW hHy7ql38pItMyk4aMe7eO3clIqztEbOgfGRWdPy7FFpd0MuB2afeMSGBZYUy2pKypXnQ O/l7GENyseJFNJDDpRHZKJO62XYBzFCwez6IwpdsQmw74rUPM/saAVwoMESOgy8RR4Vu pbsb/fZGZY/gBzQBMyNe+EwFWBhu9QgT5neXSQLVZZ26F7SOG8baMnxcuwE5VEABAWbl U6plU8aflU83NYbhSfX04mp+1J3ve01Q1CvtkG+ObeOtxGg16Jl65w25VuVkD5jVom8w 6AZQ== 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:dkim-signature; bh=AzyGjUCKPvDQyBhCWVVAL9CEf40aBRKwCGeRx8ZoD1o=; fh=UqhZeie9uhyfqDGQHrtn16NAG82m9nKi5dAqDrFaHvs=; b=HIDCBhAtJQF8CrdlqaDDbmFTqohpHiBuhH6pWMFQQYprEL+ZuNwLReuAstUKpGe8pj R818jiEuACoav6sFn2BS9ia+hZx3fmOAF8OUHq2ABcxdNrYk2FEJYkOiqopTfaXq1/JH RNkVuTYCzStcP9kwXA1/u4r/MWjyIeHk13kAecC3hSM0+g41SceJnF4jxQeJEuc7aK7m g+m35DPqgYeifUrg17JI1hG6nE86LN0aES5DMomwKtMt/h4BzMorVq98Ec+n4fG5eYZd xfHmV8kbU04OQgZmPPaJPvcGTyMvKe3hngqgVld8a5FmJ39lpdwAMsIeEdSFd08QnSZr 8dWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FXoRBHZb; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id q13-20020a17090311cd00b001bdd35033efsi2034153plh.374.2023.10.17.08.32.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 08:32:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FXoRBHZb; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id E11B5801C50D; Tue, 17 Oct 2023 08:31:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235069AbjJQPb6 (ORCPT + 52 others); Tue, 17 Oct 2023 11:31:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbjJQPb5 (ORCPT ); Tue, 17 Oct 2023 11:31:57 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6DB5F0; Tue, 17 Oct 2023 08:31:55 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C01B7C433C7; Tue, 17 Oct 2023 15:31:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697556715; bh=UcVz+SM54qPz5n7vZecomg8M0DBa65XVStlTBYqpz7k=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=FXoRBHZblUzvsPFN3PmE4uhPt9qDLP7LhMsy1/D7iAtziqgvL9N+dEPAqp/evJIyp F7ercjuTae6EBoDfVqk+b7eZBFHHb1ruMg0NnqS8/qkFymdx7xhTjR2tJNkqkdObto 2U9lD/NKDmYFNd66NgT8v5ViuGWVP4OPXYZkCZCYioJnGW4UgoexiHUh6oT2Ry9yvn tFZo/fueQlrE0hYylmiMSOHlQf/yt+zBOl+82XfrRwLCYKrbK8R8yWc0UBfmxiH03d 2Bo5KQXHacj53rUeZk8QfMojMSEABLAvUraMgYlI2L6EFI1vmdPGBDR65mYfqdLNez Ul7PYsG5VcGsg== From: Kalle Valo To: Arend van Spriel Cc: , Subject: Re: [RFH] wireless-next: fix new W=1 warnings References: <87fs2k5l1a.fsf@kernel.org> <18b3e27d218.279b.9696ff82abe5fb6502268bdc3b0467d4@gmail.com> Date: Tue, 17 Oct 2023 18:31:52 +0300 In-Reply-To: <18b3e27d218.279b.9696ff82abe5fb6502268bdc3b0467d4@gmail.com> (Arend van Spriel's message of "Tue, 17 Oct 2023 17:01:19 +0200") Message-ID: <87a5sh2rkn.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 17 Oct 2023 08:31:59 -0700 (PDT) Arend van Spriel writes: > On October 9, 2023 9:10:11 AM Kalle Valo wrote: > >> Hi, >> >> During the weekend we updated wireless-next tree from v6.5 to v6.6-rc4+. >> It looks like a new warning was enabled for v6.6 as I see with GCC 13.2 >> and W=1 several warnings (list below). In v6.5 wireless code was still >> W=1 warning free with GCC. > > Can't say I am a big fan of this new warning, but I will look at the > brcmfmac related warnings. I already sent a patch, please take a look: https://patchwork.kernel.org/project/linux-wireless/patch/20231012135854.3473332-1-kvalo@kernel.org/ > Btw. is it possible to opt out per driver. Usually that's not preferred. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches