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 1fJdxr-0007RE-Ex for barebox@lists.infradead.org; Fri, 18 May 2018 11:54:31 +0000 Message-ID: <1526644453.3948.8.camel@pengutronix.de> From: Philipp Zabel Date: Fri, 18 May 2018 13:54:13 +0200 In-Reply-To: <20180403074851.5411-19-s.hauer@pengutronix.de> References: <20180403074851.5411-1-s.hauer@pengutronix.de> <20180403074851.5411-19-s.hauer@pengutronix.de> Mime-Version: 1.0 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 18/19] fs: tftp: Switch to dcache implementation To: Sascha Hauer , Barebox List SGkgU2FzY2hhLAoKT24gVHVlLCAyMDE4LTA0LTAzIGF0IDA5OjQ4ICswMjAwLCBTYXNjaGEgSGF1 ZXIgd3JvdGU6ClsuLi5dCj4gLXN0YXRpYyBpbnQgdGZ0cF9zdGF0KHN0cnVjdCBkZXZpY2VfZCAq ZGV2LCBjb25zdCBjaGFyICpmaWxlbmFtZSwgc3RydWN0IHN0YXQgKnMpCj4gK3N0YXRpYyBzdHJ1 Y3QgZGVudHJ5ICp0ZnRwX2xvb2t1cChzdHJ1Y3QgaW5vZGUgKmRpciwgc3RydWN0IGRlbnRyeSAq ZGVudHJ5LAo+ICsJCQkgICAgdW5zaWduZWQgaW50IGZsYWdzKQo+ICB7Cj4gLQlzdHJ1Y3QgZmls ZV9wcml2ICpwcml2Owo+ICsJc3RydWN0IGlub2RlICppbm9kZTsKPiAgCj4gLQlwcml2ID0gdGZ0 cF9kb19vcGVuKGRldiwgT19SRE9OTFksIGZpbGVuYW1lKTsKPiAtCWlmIChJU19FUlI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