Home
last modified time | relevance | path

Searched hist:cbe4a61d (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/hwtracing/stm/
H A Dcore.ccbe4a61d Fri Mar 04 08:36:10 CST 2016 Alexander Shishkin <alexander.shishkin@linux.intel.com> stm class: Do not leak the chrdev in error path

Currently, the error path of stm_register_device() forgets to unregister
the chrdev. Fix this.

Reported-by: Alan Cox <alan.cox@intel.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Reviewed-by: Laurent Fert <laurent.fert@intel.com>
cbe4a61d Fri Mar 04 08:36:10 CST 2016 Alexander Shishkin <alexander.shishkin@linux.intel.com> stm class: Do not leak the chrdev in error path

Currently, the error path of stm_register_device() forgets to unregister
the chrdev. Fix this.

Reported-by: Alan Cox <alan.cox@intel.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Reviewed-by: Laurent Fert <laurent.fert@intel.com>