From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from inx.pm.waw.pl ([195.116.170.130]) by bombadil.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SQmxe-0007vB-8d for barebox@lists.infradead.org; Sat, 05 May 2012 21:56:18 +0000 From: Krzysztof Halasa Date: Sat, 05 May 2012 23:52:53 +0200 Message-ID: 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-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: I wonder what exactly I was going to achieve. To: barebox@lists.infradead.org REhDUCBhbmQgZnJpZW5kcyBub3Qgd2FpdGluZyBpZiB0aGVyZSBpcyBub3RoaW5nIHRvIHdhaXQg Zm9yPwoKU2lnbmVkLW9mZi1ieTogS3J6eXN6dG9mIEhhxYJhc2EgPGtoY0BwbS53YXcucGw+Cgpk aWZmIC0tZ2l0IGEvbmV0L25ldC5jIGIvbmV0L25ldC5jCmluZGV4IGM4MDNjNDguLmQxNjgwN2Eg MTAwNjQ0Ci0tLSBhL25ldC9uZXQuYworKysgYi9uZXQvbmV0LmMKQEAgLTIxOSw2ICsyMTksNyBA QCBzdGF0aWMgaW50IGFycF9yZXF1ZXN0KElQYWRkcl90IGRlc3QsIHVuc2lnbmVkIGNoYXIgKmV0 aGVyKQogCXN0YXRpYyBjaGFyICphcnBfcGFja2V0OwogCXN0cnVjdCBldGhlcm5ldCAqZXQ7CiAJ dW5zaWduZWQgcmV0cmllcyA9IDA7CisJaW50IGVycjsKIAogCWlmICghYXJwX3BhY2tldCkgewog CQlhcnBfcGFja2V0ID0gbmV0X2FsbG9jX3BhY2tldCgpOwpAQCAtMjYyLDcgKzI2MywxMCBAQCBz dGF0aWMgaW50IGFycF9yZXF1ZXN0KElQYWRkcl90IGRlc3QsIHVuc2lnbmVkIGNoYXIgKmV0aGV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