Tag: 51ef74f6400c731827454d010b35b122103fe9f9

usb: musb: dsps: fix devm_ioremap_resource error detection code

Author: Julia Lawall <Julia.Lawall@lip6.fr> devm_ioremap_resource returns an ERR_PTR value, not NULL, on failure. Furthermore, the value returned by devm_ioremap_resource should be tested. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,e1; statement S; @@ *e = devm_ioremap_resource(…); if (!e1) S // Signed-off-by: Julia Lawall Signed-off-by: …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.