From: Alexey Khoroshilov Date: Sat, 1 Sep 2012 20:31:58 +0000 (+0400) Subject: ppdev: ppdev_init: do not return zero in case of failure X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~77^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a32bb39d6a48d435135695763e5e4a06652eeda;p=pandora-kernel.git ppdev: ppdev_init: do not return zero in case of failure Error handling of parport_register_driver() in ppdev_init() is broken because it deallocates all resources but still returns zero. Currently parport_register_driver() always succeeds. Nevertheless it is worth to fix the issue. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed