summaryrefslogtreecommitdiff
path: root/drivers/video/imxfb.c
diff options
context:
space:
mode:
authorPeter Senna Tschudin <peter.senna@gmail.com>2012-09-18 16:07:55 +0400
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-09-23 01:41:52 +0400
commit130320bfe0ca88b0f80dde758a551b5beffb9f62 (patch)
tree3953894b61ba37105e6e6f0250846bbbb0466fcd /drivers/video/imxfb.c
parentb157dd1c38de2acad1b490851bab2244f4ef517a (diff)
downloadlinux-130320bfe0ca88b0f80dde758a551b5beffb9f62.tar.xz
drivers/video/atmel_lcdfb.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/imxfb.c')
0 files changed, 0 insertions, 0 deletions