hid_attach is missing one mutex_exit in error path
hid_attach() there is one error path leaving the function without releasing a mutex.
Since I don't think it is possible to hit this error path with current code this is more of a cleanup than an actual problem anyone would encounter.
Updated by Electric Monk almost 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 80 to 100
commit db1c88f6dab43484b6c33636600ac4596ff4c354 Author: Sebastian Wiedenroth <firstname.lastname@example.org> Date: 2018-06-04T08:35:40.000Z 9576 hid_attach is missing one mutex_exit in error path Reviewed by: Andrew Stormont <email@example.com> Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Reviewed by: Yuri Pankov <email@example.com> Approved by: Hans Rosenfeld <firstname.lastname@example.org>