From: Alexey Khoroshilov Date: Fri, 5 Apr 2013 21:14:23 +0000 (+0400) Subject: staging: dgrp: implement error handling in dgrp_create_class_sysfs_files() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~307 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e1389a9e622a421e85e8611c76bd9142bf4bff1;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed