Tag: 449d2c759ddba46a89b698bdc64bfc2f7cc5bb66

i2c-pnx: Correct use of request_region/request_mem_region

Author: Julia Lawall <julia@diku.dk> request_mem_region should be used when ioremap is used subsequently. release_region is then correspondingly replaced by release_mem_region. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @r@ expression start,E; @@ – request_region + request_mem_region (start,…) … when != request_mem_region(start,…) when != start = E ioremap(start,…) @@ expression r.start; @@ …

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.