Tag: d1ae4da731a6e049a675097ebfd9a02b9b50530e

drivers/staging/iio: call mutex_unlock in error handling code

Author: Julia Lawall <julia@diku.dk> Adjust the error handling code so that it benefits from the call to mutex_unlock at the end of the function. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @rcu exists@ position p1; expression E; @@ mutex_lock@p1(E); … mutex_unlock(E); @exists@ position rcu.p1; expression E; @@ *mutex_lock@p1(E); … when …

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.