Tag: f6a14cf04fdb17de8a96c59518909216f6892e19

Staging: dgnc: Use goto for error handling

Author: Quentin Lambert <lambert.quentin@gmail.com> This patch introduces goto statments for error handling and in cases where a lock needs to be released. A simplified version of the semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr) @candidates exists@ identifier f, label; statement s; position p1, p2, p3; @@ f@p1(…) { …when any if@p2(…) { …

Continue reading