From: James Bottomley Date: Sat, 10 May 2008 13:33:58 +0000 (-0500) Subject: [SCSI] aha152x: fix init suspiciously returned 1, it should follow 0/-E convention X-Git-Tag: v2.6.26-rc3~69^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad2fa42d044b98469449880474a9662fb689f7f9;p=pandora-kernel.git [SCSI] aha152x: fix init suspiciously returned 1, it should follow 0/-E convention Reported-by: Frank de Jong > [1.] One line summary of the problem: > linux-2.6.25.3, aha152x'->init suspiciously returned 1, it should > follow 0/-E convention. The module / driver works okay. Unloading the > module is impossible. The driver is apparently returning 0 on failure and 1 on success. That's a bit unfortunate. Fix it by altering to -ENODEV and 0. Cc: Stable Tree Signed-off-by: James Bottomley --- Reading git-diff-tree failed