From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YsTes-0000Dn-F7 for barebox@lists.infradead.org; Wed, 13 May 2015 10:12:59 +0000 From: Marc Kleine-Budde Date: Wed, 13 May 2015 12:12:26 +0200 Message-Id: <1431511952-32124-1-git-send-email-mkl@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 1/7] state: print name of property of size mismatch is detected To: barebox@lists.infradead.org Signed-off-by: Marc Kleine-Budde --- common/state.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/state.c b/common/state.c index cc44cecb484f..d4ce7313be97 100644 --- a/common/state.c +++ b/common/state.c @@ -517,8 +517,8 @@ static int state_convert_node_variable(struct state *state, if (start_size[1] != sv->size) { dev_err(&state->dev, - "size mismatch: type=%s(size=%u) size=%u\n", - type_name, sv->size, start_size[1]); + "%s: size mismatch: type=%s(size=%u) size=%u\n", + name, type_name, sv->size, start_size[1]); ret = -EOVERFLOW; goto out_free; } -- 2.1.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox