commit | 7e1389a9e622a421e85e8611c76bd9142bf4bff1 | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Sat Apr 06 01:14:23 2013 +0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 05 14:24:11 2013 -0700 |
tree | 784857c59a2b0f28d14f3364f31bb27a5ab9aca4 | |
parent | 70e90fb57f517dca891c737f8120389af71baee0 [diff] |
staging: dgrp: implement error handling in dgrp_create_class_sysfs_files() There is no any error handling in dgrp_create_class_sysfs_files(). The patch adds code to check return values and propagate them to dgrp_init_module(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>