From: Nicholas Mc Guire Date: Wed, 10 Jun 2015 09:02:03 +0000 (-0300) Subject: [media] s5p-tv: fix wait_event_timeout return handling X-Git-Tag: omap-for-v4.3/fixes-rc1~26^2~126 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f50efadcb9710876c6d02f60931e5fcc896ddaf;p=pandora-kernel.git [media] s5p-tv: fix wait_event_timeout return handling event API conformance testing with coccinelle spatches are being used to locate API usage inconsistencies this triggert with: ./drivers/media/platform/s5p-tv/mixer_reg.c:364 incorrect check for negative return Return type of wait_event_timeout is signed long not int and the return type is >=0 always thus the negative check is unnecessary. An appropriately named variable of type long is inserted and the call fixed up aswell as the negative return check dropped. Signed-off-by: Nicholas Mc Guire Signed-off-by: Sylwester Nawrocki Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed