]> git.baikalelectronics.ru Git - kernel.git/commit
omapdrm: hdmi4_cec: signedness bug in hdmi4_cec_init()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 27 Oct 2017 06:27:05 +0000 (09:27 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 30 Nov 2017 10:25:37 +0000 (12:25 +0200)
commitc247e5f36df4ac22062d4af2c8cbc2777bf93755
treed5c006fe1e43c2ea6668eb94f6e5748b46144d12
parent644759b55b4d8ddd06c4161cfd470d432c9eb878
omapdrm: hdmi4_cec: signedness bug in hdmi4_cec_init()

"ret" needs to be signed for the error handling to work.

Fixes: 2efae616f1aa ("omapdrm: hdmi4_cec: add OMAP4 HDMI CEC support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c