Tag: 292f60c0c4ab44aa2d589ba03c12e64a3b3c5e38

ring-buffer: Add missing unlock

Author: Julia Lawall <julia@diku.dk> In some error handling cases the lock is not unlocked. The return is converted to a goto, to share the unlock at the end of the function. A simplified version of the semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r exists@ expression E1; identifier f; @@ f …

Continue reading