Tag: 86e4754ac8fde9a9c913571016bc31257aa2e195

powerpc/pmac: Add missing unlocks in error path

Author: Julia Lawall <julia@diku.dk> In some error handling cases the lock is not unlocked. 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 (…) { } // Signed-off-by: Julia Lawall Signed-off-by: Benjamin Herrenschmidt — drivers/macintosh/macio-adb.c | 1 + drivers/macintosh/smu.c | …

Continue reading