staging: drm/imx: ipu-dc: signedness bug in ipu_dc_init_sync()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 21 Aug 2013 08:30:08 +0000 (11:30 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Aug 2013 17:07:18 +0000 (10:07 -0700)
commitdf2da9a3fc4b4aeb5c6250006a297f143ca7fcc3
tree8d62a356073857fb4c22eee48cae6e3e96459d6e
parent234ad18249a46af8703246a3c417bb4382512d2f
staging: drm/imx: ipu-dc: signedness bug in ipu_dc_init_sync()

"map" needs to be signed for the error handling to work.  In the success
case then it holds a small non-negative value.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/imx-drm/ipu-v3/ipu-dc.c