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 over 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 80 to 100
commit db1c88f6dab43484b6c33636600ac4596ff4c354 Author: Sebastian Wiedenroth <email@example.com> Date: 2018-06-04T08:35:40.000Z 9576 hid_attach is missing one mutex_exit in error path Reviewed by: Andrew Stormont <firstname.lastname@example.org> Reviewed by: Robert Mustacchi <email@example.com> Reviewed by: Yuri Pankov <firstname.lastname@example.org> Approved by: Hans Rosenfeld <email@example.com>