From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from forward9h.cmail.yandex.net ([87.250.230.220]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1baJ3q-000251-7c for barebox@lists.infradead.org; Thu, 18 Aug 2016 08:52:27 +0000 From: Aleksey Kuleshov In-Reply-To: <20160818063524.GF20657@pengutronix.de> References: <1471420687-14367-1-git-send-email-rndfax@yandex.ru> <1471420687-14367-2-git-send-email-rndfax@yandex.ru> <20160818063524.GF20657@pengutronix.de> MIME-Version: 1.0 Message-Id: <105091471510320@web2g.yandex.ru> Date: Thu, 18 Aug 2016 11:52:00 +0300 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 1/2] hush: do not do anything if string is zero length To: Sascha Hauer Cc: "barebox@lists.infradead.org" Pj4gwqBkaWZmIC0tZ2l0IGEvY29tbW9uL2h1c2guYyBiL2NvbW1vbi9odXNoLmMKPj4gwqBpbmRl eCBkM2Y3YmYzLi5kOGZkNjRiIDEwMDY0NAo+PiDCoC0tLSBhL2NvbW1vbi9odXNoLmMKPj4gwqAr KysgYi9jb21tb24vaHVzaC5jCj4+IMKgQEAgLTE2NTUsNiArMTY1NSw5IEBAIGNoYXIgKnNoZWxs X2V4cGFuZChjaGFyICpzdHIpCj4+IMKgwqDCoMKgwqDCoMKgwqDCoMKgb19zdHJpbmcgbyA9IHt9 Owo+PiDCoMKgwqDCoMKgwqDCoMKgwqDCoGNoYXIgKnJlcywgKnBhcnNlZDsKPj4KPj4gwqArIGlm IChzdHJsZW4oc3RyKSA9PSAwKQo+PiDCoCsgcmV0dXJuIHhzdHJkdXAoIiIpOwo+PiDCoCsKPgo+ IENhbiB5b3UgZXhwbGFpbiB3aHkgdGhpcyBpcyBuZWNlc3Nhcnk/IFdo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