Re: [PATCH] omapdrm: hdmi4_cec: fix unsigned int comparison with less than zero

2017-11-21 Thread Tomi Valkeinen
Hi Colin, On 17/11/17 20:49, Colin King wrote: > From: Colin Ian King > > The two comparisons of the unsigned int ret for -ve error returns is > always false because ret is unsigned. Fix this by making ret a signed > int. > > Signed-off-by: Colin Ian King

Re: [PATCH] omapdrm: hdmi4_cec: fix unsigned int comparison with less than zero

2017-11-21 Thread Tomi Valkeinen
Hi Colin, On 17/11/17 20:49, Colin King wrote: > From: Colin Ian King > > The two comparisons of the unsigned int ret for -ve error returns is > always false because ret is unsigned. Fix this by making ret a signed > int. > > Signed-off-by: Colin Ian King > --- >

[PATCH] omapdrm: hdmi4_cec: fix unsigned int comparison with less than zero

2017-11-17 Thread Colin King
From: Colin Ian King The two comparisons of the unsigned int ret for -ve error returns is always false because ret is unsigned. Fix this by making ret a signed int. Signed-off-by: Colin Ian King --- drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c |

[PATCH] omapdrm: hdmi4_cec: fix unsigned int comparison with less than zero

2017-11-17 Thread Colin King
From: Colin Ian King The two comparisons of the unsigned int ret for -ve error returns is always false because ret is unsigned. Fix this by making ret a signed int. Signed-off-by: Colin Ian King --- drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)