From: Alexey Khoroshilov Date: Wed, 19 Jun 2013 19:57:40 +0000 (-0300) Subject: [media] go7007: fix return 0 for unsupported devices in go7007_usb_probe() X-Git-Tag: v3.11-rc1~17^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e7db0389fd05ba8721df3978b76156917cb4256;p=pandora-kernel.git [media] go7007: fix return 0 for unsupported devices in go7007_usb_probe() probe() should not return 0 for unsupported devices, but go7007_usb_probe() does. The patch fixes it to return -ENODEV. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed