From: Greg Kroah-Hartman Date: Wed, 11 Mar 2009 03:42:55 +0000 (-0700) Subject: USB: usbtmc: fix stupid bug in open() X-Git-Tag: v2.6.29~25^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b10916ea0a62920204517e1c4ce14560b4f96ab;p=pandora-kernel.git USB: usbtmc: fix stupid bug in open() open() will never succeed, as we always return -ENODEV. Fix this obvious bug. Thanks to Jouni Ryno for reporting it. Reported-by: Jouni Ryno Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed