summaryrefslogtreecommitdiff
path: root/drivers/staging/comedi/drivers.c
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2013-04-05 21:14:23 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-05 21:24:11 (GMT)
commit7e1389a9e622a421e85e8611c76bd9142bf4bff1 (patch)
tree784857c59a2b0f28d14f3364f31bb27a5ab9aca4 /drivers/staging/comedi/drivers.c
parent70e90fb57f517dca891c737f8120389af71baee0 (diff)
downloadlinux-fsl-qoriq-7e1389a9e622a421e85e8611c76bd9142bf4bff1.tar.xz
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>
Diffstat (limited to 'drivers/staging/comedi/drivers.c')
0 files changed, 0 insertions, 0 deletions