Details

[Home]

Issue of the Implementation # L0065

Brief

HID: hidraw: improve error handling in hidraw_init()

Detailed Description

Several improvements in error handling: - do not report success if alloc_chrdev_region() failed - check for error code of cdev_add() - use unregister_chrdev_region() instead of unregister_chrdev() if class_create() failed

Component

linux-kernel 3.5

Accepted

https://lkml.org/lkml/2012/8/15/407
commit

Status

Fixed in kernel 3.7-rc1

[Home]