Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3843437rwa; Tue, 23 Aug 2022 11:04:54 -0700 (PDT) X-Google-Smtp-Source: AA6agR71VD7/V5xiPPdhipCQVXdU6dQNeJyZn72u7oOBeHGbOyGm+a/gdHTnz1E5Ci/F444rmA+c X-Received: by 2002:a17:90b:4d07:b0:1ef:521c:f051 with SMTP id mw7-20020a17090b4d0700b001ef521cf051mr4432540pjb.164.1661277894344; Tue, 23 Aug 2022 11:04:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661277894; cv=none; d=google.com; s=arc-20160816; b=XtbqkaglsPEo3PFFDtuj/tXXIKfd7pGZBJC7cKUsmvzChckgDDFk3b5iTpA6L41Hx7 5PHlW8/RFumoDUQkbx5iBDv2dWX86/st47eh/b7T8t/PTFmBhle45o4eUH9/173PrPMt +HqyZxxxf9Ptz0AGbs5Gjw/sF4dRx957/MnffZg39jVnTyZt/Kb7zP88Xq/GieB/6IE4 sG5yFKw7rwsztEdDd36SwsBb0tRgDjZJDAgExBcDKo2wpZSRFHoLD6NNDPSJjP+qkIct 2nXoCQV65bft+rgyq1I289gyGW0LIAL9WnOSYf11r94EkAndoMquyogO4LhWqKMtYHtI RlNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NYGtVxdw9Lyj8WCdV2l0/MZofC7l7I3IxKZHGGrraTc=; b=P1ZnKvEwozIcFrWWrnH4NeGAo4WFvaRYsG/VprJg5s7iydAJ4JkWSWy99TK3Nc757m 9bH1PmwAgHNhH7zLCJ2RWSqaShZvi9sY9x5ahlD62dkuRszwVIytqo2T2BkShJSxvv7f NEhLWaobdFNc73+yM8uVCVoPeXwt3TQ0WzBR5Pr2s1U68IO4VZNFC7eEINX425pe92vb vGFG+hCA/VsNofo1RsADTlgeKalJkRzfYG+VcnM9UajaEZsrImtokhvCKtZMji/V3S8b E7GbcZjjnDSI8pv5PgXOyLwkur5uVwMz+YKKIMy9/eouSPhq/vsA/4atazm5b3vDHnxs 7ylw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q4cLF4ai; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 e12-20020a170902cf4c00b0017139f381c9si3723492plg.569.2022.08.23.11.04.41; Tue, 23 Aug 2022 11:04:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=Q4cLF4ai; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S232062AbiHWRmh (ORCPT + 99 others); Tue, 23 Aug 2022 13:42:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232086AbiHWRl5 (ORCPT ); Tue, 23 Aug 2022 13:41:57 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98FA275FE7 for ; Tue, 23 Aug 2022 08:39:19 -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 ams.source.kernel.org (Postfix) with ESMTPS id 4FE92B81CED for ; Tue, 23 Aug 2022 15:39:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 49C33C433B5; Tue, 23 Aug 2022 15:39:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661269157; bh=EY7ffbopHvWsKpBVtYBIrPDSyaNtMo8vstLMv2RbPi8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q4cLF4ai88z/mqbFHfObkZHkx3eEi9LrgQNCu7fhOmP7r/F+1Nbz9zwGAI7WQkkJm M7mrxmZk6dSxVjdCXZCxnh3upzNpqzq8AMMlB+iXd/8UcwIYN2YyK9E2U6yKEVT70E KXaE7WVPdZKyOWP1DSMbaZxspsvmlQ0zGizbNpNDwyZ1Rd7xVxlpoIwLzfEkYi9sCQ vAmSz40YIMt3v6Z8gC1A5CyZfqg4yUWTja65AZMkdCvEJJwVsbS2sy6T1Qari0jJow TUI0EuTu5TiWchDhjT3A7bKme6PtqyolERQg1j5heVQ0PXDqZnzK7dJTo8dahQKadt Xo+9oKO4geaFQ== Date: Tue, 23 Aug 2022 08:39:13 -0700 From: Nathan Chancellor To: Mark Brown Cc: Codrin Ciubotariu , Liam Girdwood , Claudiu Beznea , alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Nicolas Ferre , llvm@lists.linux.dev, Alexandre Belloni , Nick Desaulniers , Tom Rix Subject: Re: [PATCH] ASoC: mchp-spdiftx: Fix clang -Wbitfield-constant-conversion Message-ID: References: <20220810010809.2024482-1-nathan@kernel.org> <166058059542.769843.4941839393289864947.b4-ty@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <166058059542.769843.4941839393289864947.b4-ty@kernel.org> X-Spam-Status: No, score=-7.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,T_SCC_BODY_TEXT_LINE 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-kernel@vger.kernel.org Hi Mark, On Mon, Aug 15, 2022 at 05:23:15PM +0100, Mark Brown wrote: > On Tue, 9 Aug 2022 18:08:09 -0700, Nathan Chancellor wrote: > > A recent change in clang strengthened its -Wbitfield-constant-conversion > > to warn when 1 is assigned to a 1-bit signed integer bitfield, as it can > > only be 0 or -1, not 1: > > > > sound/soc/atmel/mchp-spdiftx.c:505:20: error: implicit truncation from 'int' to bit-field changes value from 1 to -1 [-Werror,-Wbitfield-constant-conversion] > > dev->gclk_enabled = 1; > > ^ ~ > > 1 error generated. > > > > [...] > > Applied to > > https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next > > Thanks! > > [1/1] ASoC: mchp-spdiftx: Fix clang -Wbitfield-constant-conversion > commit: eab9100d9898cbd37882b04415b12156f8942f18 I noticed that this was applied to for-6.1. I know you do not rebase or change your trees so this request might be rejected based on that alone but would it be possible to cherry-pick this to for-6.0 so that it can be applied to Linus's tree quicker? We have had to apply this change to our CI to keep our builds green in mainline, -tip, and 5.19/5.15 stable with clang-16 due to -Werror. If not, no worries, I should have made it clearer that is what I was looking for with the subject prefix. Cheers, Nathan