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 1gs0O9-0005jY-RM for barebox@lists.infradead.org; Fri, 08 Feb 2019 07:15:55 +0000 From: =?UTF-8?q?Ulrich=20=C3=96lmann?= Date: Fri, 8 Feb 2019 08:15:22 +0100 Message-Id: <20190208071526.19150-4-u.oelmann@pengutronix.de> In-Reply-To: <20190208071526.19150-1-u.oelmann@pengutronix.de> References: <20190208071526.19150-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 3/7] common: state: fix formatting of "uint32_t" variables To: Barebox List VG8gaGFybW9uaXplIHRoZSBjb21tb24gY29kZWJhc2UgdGhpcyBwb3J0cyB0aGUgZm9sbG93aW5n IGR0LXV0aWxzIGNvbW1pdDoKCnwgY29tbWl0IDU1ODhhNmMzMmQ1NGJjNGExZWYwYjlmNzI4MDdj NDZkZDAwYmMyMGUKfCBBdXRob3I6IFVscmljaCDDlmxtYW5uIDx1Lm9lbG1hbm5AcGVuZ3V0cm9u aXguZGU+CnwgRGF0ZTogICBTdW4gRmViIDMgMjI6NDg6MDcgMjAxOSArMDEwMAp8CnwgICAgIHN0 YXRlOiBmaXggZm9ybWF0dGluZyBvZiAidWludDMyX3QiIHZhcmlhYmxlcwp8CnwgICAgIFRoZSBm b3JtYXQgc3BlY2lmaWVyICIlemQiIGlzIGZvciAic2l6ZV90IiB0eXBlZCB2YXJpYWJsZXMgYW5k IHByb2R1Y2VzIGEKfCAgICAgd2FybmluZyB3aXRoIGdjYywgc28gdXNlICIldSIgaW5zdGVhZC4K fAp8ICAgICBTaWduZWQtb2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