diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2012-01-25 22:02:37 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2012-01-25 22:02:37 +0000 |
commit | c15a85433c611d0d57906a0a3efd50394c57f419 (patch) | |
tree | 52b9a207e3cceac55b404a9d8fdfc37568b008fa /drivers/dahdi/dahdi_dynamic_eth.c | |
parent | 7205376d088d91b6680964e05c6ab20dbbc554f5 (diff) |
fix class_create() return value test
In case of error class_create check IS_ERR()/PTR_ERR() and not for NULL.
Signed-off-by: Oron Peled <oron.peled@xorcom.com>
Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10453 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/dahdi_dynamic_eth.c')
0 files changed, 0 insertions, 0 deletions