From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKNvo-0006Xy-N7 for barebox@lists.infradead.org; Wed, 07 Nov 2018 13:31:42 +0000 Date: Wed, 7 Nov 2018 14:31:26 +0100 From: Roland Hieber Message-ID: <20181107133126.4gatdtc3bwvr2bvp@pengutronix.de> References: <20181101135214.c449c5d63daace2540320652@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20181101135214.c449c5d63daace2540320652@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: common/ddr_spd.c:281:28: warning: bitwise comparison always evaluates to false To: Antony Pavlov Cc: Barebox List , Alexander Smirnov T24gVGh1LCBOb3YgMDEsIDIwMTggYXQgMDE6NTI6MTRQTSArMDMwMCwgQW50b255IFBhdmxvdiB3 cm90ZToKPiBIaSEKPiAKPiBJIGhhdmUgdHJpZWQgdG8gYnVpbGQgYmFyZWJveCB3aXRoIGdjYy04 LjIuCj4gCj4gSSBzZWUgdGhpcyB3YXJuaW5nOgo+IAo+IGNvbW1vbi9kZHJfc3BkLmM6MjgxOjI4 Ogo+IGNvbW1vbi9kZHJfc3BkLmM6IEluIGZ1bmN0aW9uIOKAmGRkcl9zcGRfcHJpbnTigJk6Cj4g Y29tbW9uL2Rkcl9zcGQuYzoyODE6Mjg6IHdhcm5pbmc6IGJpdHdpc2UgY29tcGFyaXNvbiBhbHdh eXMgZXZhbHVhdGVzIHRvIGZhbHNlIFstV3RhdXRvbG9naWNhbC1jb21wYXJlXQo+ICAgaWYgKChz LT5tb2RfcmFua3MgJiAweDEwKSA9PSAxKQo+ICAgICAgICAgICAgICAgICAgIC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