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.87 #1 (Red Hat Linux)) id 1dUW1P-0005w4-KI for barebox@lists.infradead.org; Mon, 10 Jul 2017 10:34:35 +0000 From: Steffen Trumtrar Date: Mon, 10 Jul 2017 12:33:47 +0200 Message-Id: <20170710103355.15652-1-s.trumtrar@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 v2 1/9] state: fix compile warnings for dev_err expansion To: barebox@lists.infradead.org Cc: Steffen Trumtrar Rml4IHRoZSBmb2xsb3dpbmcgd2FybmluZ3M6CgogIENDICAgICAgY29tbW9uL3N0YXRlL2JhY2tl bmRfZm9ybWF0X2R0Yi5vCkluIGZpbGUgaW5jbHVkZWQgZnJvbSBpbmNsdWRlL2NvbW1vbi5oOjMz OjAsCiAgICAgICAgICAgICAgICAgZnJvbSBjb21tb24vc3RhdGUvYmFja2VuZF9mb3JtYXRfZHRi LmM6MTg6CmNvbW1vbi9zdGF0ZS9iYWNrZW5kX2Zvcm1hdF9kdGIuYzogSW4gZnVuY3Rpb24g4oCY c3RhdGVfYmFja2VuZF9mb3JtYXRfZHRiX3ZlcmlmeeKAmToKaW5jbHVkZS9wcmludGsuaDo1Mjo1 Mjogd2FybmluZzogZm9ybWF0IOKAmCVk4oCZIGV4cGVjdHMgYXJndW1lbnQgb2YgdHlwZSDigJhp bnTigJksIGJ1dAphcmd1bWVudCA0IGhhcyB0eXBlIOKAmHNpemVfdCB7YWthIGxvbmcgdW5zaWdu ZWQgaW50feKAmSBbLVdmb3JtYXQ9XQogICAobGV2ZWwpIDw9IExPR0xFVkVMID8gZGV2X3ByaW50 Zigob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