Tag: c4e6774de19f4638bb887a47a58ee21d6809360b

fbdev: ssd1307fb: fix error return code

Author: Julia Lawall <Julia.Lawall@lip6.fr> Propagate error code on failure. Also changed %ld to %d in dev_err to use ret variable rather than putting two calls to PTR_ERR. A simplified version of the semantic match that finds the first problem is as follows: (http://coccinelle.lip6.fr/) // @@ identifier ret; expression e1,e2; @@ ( if (\(ret < 0\|ret …

Continue reading