summaryrefslogtreecommitdiff
path: root/drivers/video/ps3fb.c
diff options
context:
space:
mode:
authorPeter Senna Tschudin <peter.senna@gmail.com>2012-09-18 12:07:58 (GMT)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-09-22 21:41:52 (GMT)
commit7c4c72f4438e3e99ad39b2a86e477fb1c6fd1f3f (patch)
treecf92b44daea44c107d4bbcc2bb3079b39c0d723a /drivers/video/ps3fb.c
parent0ca30b1b6aaab682ce762809f93bb78d6650de89 (diff)
downloadlinux-fsl-qoriq-7c4c72f4438e3e99ad39b2a86e477fb1c6fd1f3f.tar.xz
drivers/video/cyber2000fb.c: fix error return code
Convert a nonnegative error return code to a negative one, as returned elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> ( if@p1 (\(ret < 0\|ret != 0\)) { ... return ret; } | ret@p1 = 0 ) ... when != ret = e1 when != &ret *if(...) { ... when != ret = e2 when forall return ret; } // </smpl> Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/ps3fb.c')
0 files changed, 0 insertions, 0 deletions