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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C0976C00140 for ; Mon, 15 Aug 2022 10:03:50 +0000 (UTC) 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PQI5Ynlt93wsc1lSr8ksemdqChOAsxmLS7SUMqLZ8lE=; b=G+SzT9LaeWs2X7 KA3D699xPXkf2/8MoxJEqnFfsV4/KMKWjn8wUeA/i0rZj0iP8KyQuBgDAfwG995s5CX947BwfK/FI Ey/iSynjL1YjcB9DX3wDJqTAS0EV6bqFI6BkymlJ1hasjJ6BIC8zGCM85Id1bgaeeGscHwEKG2x0Y 7AN6r2dNqkeWZThBjLopgOAD60mOw8YWzUtB87ak0RUGqrmuwpF86n+9LNSaSsg89eODJ0DFmStzM w3hUss2Wfuw3CKRndhDg9XqGjrMewmbLj/k6GZ3MTuVm4/Ad9v01WXlGIAkWiFyMiP1km6pR6esqV aYQk7v7cu9qAYWbGIPTQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oNWvl-00ELH1-29; Mon, 15 Aug 2022 10:02:45 +0000 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.86.151]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oNWpB-00EEZ5-WA for linux-arm-kernel@lists.infradead.org; Mon, 15 Aug 2022 09:56:00 +0000 Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-101-4cQNWSDENwOhApAiFPs4uQ-1; Mon, 15 Aug 2022 10:55:51 +0100 X-MC-Unique: 4cQNWSDENwOhApAiFPs4uQ-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) by AcuMS.aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) with Microsoft SMTP Server (TLS) id 15.0.1497.38; Mon, 15 Aug 2022 10:55:50 +0100 Received: from AcuMS.Aculab.com ([fe80::994c:f5c2:35d6:9b65]) by AcuMS.aculab.com ([fe80::994c:f5c2:35d6:9b65%12]) with mapi id 15.00.1497.040; Mon, 15 Aug 2022 10:55:50 +0100 From: David Laight To: 'Nick Desaulniers' , Nathan Chancellor Subject: RE: [PATCH] ASoC: mchp-spdiftx: Fix clang -Wbitfield-constant-conversion Thread-Topic: [PATCH] ASoC: mchp-spdiftx: Fix clang -Wbitfield-constant-conversion Thread-Index: AQHYrP4xySyJ4QyXg0+0Vu0cOV8HAa2vv+Uw Date: Mon, 15 Aug 2022 09:55:50 +0000 Message-ID: <24087aa311e84df3a3df3c0e15151580@AcuMS.aculab.com> References: <20220810010809.2024482-1-nathan@kernel.org> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220815_025558_483635_1F605D9A X-CRM114-Status: UNSURE ( 9.70 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Belloni , "linux-kernel@vger.kernel.org" , "alsa-devel@alsa-project.org" , Tom Rix , "llvm@lists.linux.dev" , Liam Girdwood , Mark Brown , Codrin Ciubotariu , Claudiu Beznea , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Nick Desaulniers > Sent: 10 August 2022 22:14 > > On Tue, Aug 9, 2022 at 6:08 PM 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: Is there a -Wsigned-bitfield ? You probably don't ever want the compiler to be generating the code to sign-propagate a bitfield. David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel