Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1325478pxb; Tue, 26 Oct 2021 07:04:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJye/ZReoOXW/vb1Vju7z/aobOullr2yiHjMQJIMAK7GrsPXKXMrlv6sNG+7aX+4g2jpexEo X-Received: by 2002:a17:90b:388a:: with SMTP id mu10mr29650081pjb.0.1635257046717; Tue, 26 Oct 2021 07:04:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635257046; cv=none; d=google.com; s=arc-20160816; b=sYzPQXE/VR8a4MHW5fWqwLpko9RfyKEsyL9aRDYxtKCR68rOIVHEKle83AiIl4OPV2 XKpL60dU36U/co/QlGm7wRTRWfG67YeE/vvO31+uAKxj+8oW6ExBzQP1bXKdDcKUO4FZ DWNibsGEgZH0kOV7Irns4HTDUbyM45RDzPvVBUk6K+hx/kjxiRZw0zvnusBqEPl1Y2ZR fKVSyTAs92MXq86GV3iga6JpcCIRCxetvc/Ecq77o45FtxyPAV/haUsAwsa+XARyfjXb Lp5oQpcmvWJnuJNDdXCqD3/gMBQtSAZ0Q6ln0GTrRzBtwsmfvePFPFmMG97hiAewNqtY psdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=nDXjmKCQUE9jBbHx2lmp5mGnQSqnCEadvqmgSfdLsIo=; b=ptIjcsui8vjd9s05MU4RglV2Mlh7DMSoMoFyvPo1l7J7xKB2o6KSyjlQIcWuRDen5H gfNdK6v8xWWg0da8tMY1deGKAs15EO7j0Fm4xsOyND9W/vNJ/unZ9rG3DnXio3Dimumk rtUzphXxAP0fnb41KCLvyF7ffJ6YbxgUoZ4mYC7INDWjsHjpXYu6YyEXMDfkdGDVz4u7 z152Ld4IdC/jblNJ1axOU9DKr7LgNjDmUz5+Wa4XP70FpnTK2RerUx3HnpJgqtx6lFfd RH5FOaBLKu1CwqmbGql6k9xrxN7dr6PdtmFmyzMWYrwVGV3bCKnI8ENwaWeyzcCpx8kV 5sKQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kb13si1067053pjb.136.2021.10.26.07.03.24; Tue, 26 Oct 2021 07:04:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233907AbhJZKhH (ORCPT + 99 others); Tue, 26 Oct 2021 06:37:07 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.86.151]:51851 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234330AbhJZKhE (ORCPT ); Tue, 26 Oct 2021 06:37:04 -0400 Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-165-A_jv2xcfNTGsiWxUaiBkAg-1; Tue, 26 Oct 2021 11:34:32 +0100 X-MC-Unique: A_jv2xcfNTGsiWxUaiBkAg-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.24; Tue, 26 Oct 2021 11:34:31 +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.024; Tue, 26 Oct 2021 11:34:31 +0100 From: David Laight To: 'Nick Terrell' , Nathan Chancellor CC: Nick Desaulniers , "linux-kernel@vger.kernel.org" , "llvm@lists.linux.dev" Subject: RE: [PATCH] lib: zstd: Add cast to silence clang's -Wbitwise-instead-of-logical Thread-Topic: [PATCH] lib: zstd: Add cast to silence clang's -Wbitwise-instead-of-logical Thread-Index: AQHXxrmhV8EJKX2UAE+nrwZQNmVvMavkgQmAgACZsEA= Date: Tue, 26 Oct 2021 10:34:31 +0000 Message-ID: References: <20211021202353.2356400-1-nathan@kernel.org> <4245BD7A-4B12-4172-B4EE-76A99C717C7D@fb.com> In-Reply-To: <4245BD7A-4B12-4172-B4EE-76A99C717C7D@fb.com> 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 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogTmljayBUZXJyZWxsDQo+IFNlbnQ6IDI2IE9jdG9iZXIgMjAyMSAwMjoxOA0KPiANCj4g PiBPbiBPY3QgMjEsIDIwMjEsIGF0IDE6MjMgUE0sIE5hdGhhbiBDaGFuY2VsbG9yIDxuYXRoYW5A a2VybmVsLm9yZz4gd3JvdGU6DQo+ID4NCj4gPiBBIG5ldyB3YXJuaW5nIGluIGNsYW5nIHdhcm5z IHRoYXQgdGhlcmUgaXMgYW4gaW5zdGFuY2Ugd2hlcmUgYm9vbGVhbg0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