From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-io0-x236.google.com ([2607:f8b0:4001:c06::236]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f84P5-0005ed-N6 for barebox@lists.infradead.org; Mon, 16 Apr 2018 13:42:45 +0000 Received: by mail-io0-x236.google.com with SMTP id q84so18078096iod.10 for ; Mon, 16 Apr 2018 06:42:33 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20180415182758.2gvkmxp7e5zzxtev@pengutronix.de> References: <20180413233053.15570-1-u.kleine-koenig@pengutronix.de> <20180413233053.15570-4-u.kleine-koenig@pengutronix.de> <20180415182758.2gvkmxp7e5zzxtev@pengutronix.de> From: Andrey Smirnov Date: Mon, 16 Apr 2018 06:42:31 -0700 Message-ID: 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: [PATCH 4/4] pci: don't hide hard to understand sanity check in size calculation To: =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= Cc: Barebox List T24gU3VuLCBBcHIgMTUsIDIwMTggYXQgMTE6MjcgQU0sIFV3ZSBLbGVpbmUtS8O2bmlnCjx1Lmts ZWluZS1rb2VuaWdAcGVuZ3V0cm9uaXguZGU+IHdyb3RlOgo+IEhlbGxvIEFuZHJleSwKPgo+IE9u IFNhdCwgQXByIDE0LCAyMDE4IGF0IDA5OjI1OjU5QU0gLTA3MDAsIEFuZHJleSBTbWlybm92IHdy b3RlOgo+PiBPbiBGcmksIEFwciAxMywgMjAxOCBhdCA0OjMwIFBNLCBVd2UgS2xlaW5lLUvDtm5p Zwo+PiA8dS5rbGVpbmUta29lbmlnQHBlbmd1dHJvbml4LmRlPiB3cm90ZToKPj4gPiArICAgICAg ICAgICAgICAgLyoKPj4gPiArICAgICAgICAgICAgICAgIC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