From: Alan Stern Date: Thu, 30 Jul 2009 19:28:14 +0000 (-0400) Subject: USB: usbfs: fix -ENOENT error code to be -ENODEV X-Git-Tag: v2.6.27.30~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e16ba377737c5815cd1d6315c3cffe9c6e388ad;p=pandora-kernel.git USB: usbfs: fix -ENOENT error code to be -ENODEV commit 01105a246345f011fde64d24a601090b646e9e4c upstream. This patch (as1272) changes the error code returned when an open call for a USB device node fails to locate the corresponding device. The appropriate error code is -ENODEV, not -ENOENT. Signed-off-by: Alan Stern CC: Kay Sievers Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed