From: Mauro Carvalho Chehab Date: Wed, 6 Jul 2011 12:05:41 +0000 (-0300) Subject: [media] dvb-bt8xx: Don't return -EFAULT when a device is not found X-Git-Tag: v3.1-rc1~116^2~181 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16d6c0b02c555b93034ffef4bf1b2d8ae80d8102;p=pandora-kernel.git [media] dvb-bt8xx: Don't return -EFAULT when a device is not found When a device (or their PCI structs) are not found, the error should be -ENODEV. -EFAULT is reserved for errors while copying arguments from/to userspace. Acked-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed