From: Sakari Ailus Date: Fri, 1 Sep 2017 23:43:31 +0000 (-0400) Subject: media: omap3isp: Print the name of the entity where no source pads could be found X-Git-Tag: v4.15-rc1~91^2~47 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=bce9e317cec9c4ffff3dde1170c0ad70f5e690c8;p=users%2Fjedix%2Flinux-maple.git media: omap3isp: Print the name of the entity where no source pads could be found If no source pads are found in an entity, print the name of the entity. Signed-off-by: Sakari Ailus Acked-by: Hans Verkuil Acked-by: Pavel Machek Reviewed-by: Sebastian Reichel Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/omap3isp/isp.c b/drivers/media/platform/omap3isp/isp.c index 4afd7ba4fad6..35687c9707e0 100644 --- a/drivers/media/platform/omap3isp/isp.c +++ b/drivers/media/platform/omap3isp/isp.c @@ -1669,8 +1669,8 @@ static int isp_link_entity( break; } if (i == entity->num_pads) { - dev_err(isp->dev, "%s: no source pad in external entity\n", - __func__); + dev_err(isp->dev, "%s: no source pad in external entity %s\n", + __func__, entity->name); return -EINVAL; }