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.92.2 #3 (Red Hat Linux)) id 1iEpNQ-0001Lw-DH for barebox@lists.infradead.org; Mon, 30 Sep 2019 06:41:47 +0000 From: =?UTF-8?q?Ulrich=20=C3=96lmann?= Date: Mon, 30 Sep 2019 08:41:35 +0200 Message-Id: <20190930064137.2091-1-u.oelmann@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: [PATCH 1/3] state: backend_bucket_circular: harmonize code with dt-utils To: Barebox List Q29tcGFyaW5nIGJhcmVib3gnIGNvbW1pdCBbMV0gd2l0aCBkdC11dGlscycgY29tbWl0IFsyXSBp dCBpcyBvYnZpb3VzIHRoYXQKYWRqdXN0aW5nIHRoZSByZXR1cm4gdmFsdWUgaGFzIGJlZW4gZm9y Z290dGVuIGluIGJhcmVib3ggLSBmaXggdGhhdC4KKEFzIHRoZSBhY3R1YWwgY29kZSB0aGF0IGlz IGNoYW5nZWQgaXMgcmVtb3ZlZCBieSB0aGUgcHJlcHJvY2Vzc2VyIHdoZW4KY29tcGlsaW5nIGJh cmVib3ggdGhpcyBwYXRjaCBpcyBvbmx5IG9mIGNvc21ldGljIG5hdHVyZSB0byBrZWVwIGJvdGgg Y29kZSBiYXNlcwppbiBzeW5jKS4KClsxXSA5ZDZkOTE5MzFhZmIgKCJzdGF0ZTogUmVtb3ZlIC1F VUNMRUFOIGNoZWNrIGZyb20gdXNlcnNwYWNlIHRvb2wiKQpbMl0gNzkxYTI0MDQxMTZkICgic3Rh dGU6IFJlbW92ZSAtRVVDTEVBTiBjaGVjayBmcm9tIHVzZXJzcGFjZSB0b29sIikKClNpZ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