The patch titled v4l: fix retval in vivi driver for more than one device has been removed from the -mm tree. Its filename was v4l-fix-retval-in-vivi-driver-for-more-than-one-device.patch This patch was dropped because an alternative patch was merged The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: v4l: fix retval in vivi driver for more than one device From: Henrik Kretzschmar <henne@xxxxxxxxxxxxxxxx> The variable ret should be set for each device to -ENOMEM, not only the first. Signed-off-by: Henrik Kretzschmar <henne@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/media/video/vivi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN drivers/media/video/vivi.c~v4l-fix-retval-in-vivi-driver-for-more-than-one-device drivers/media/video/vivi.c --- a/drivers/media/video/vivi.c~v4l-fix-retval-in-vivi-driver-for-more-than-one-device +++ a/drivers/media/video/vivi.c @@ -1120,7 +1120,7 @@ static struct video_device vivi_template */ static int __init vivi_init(void) { - int ret = -ENOMEM, i; + int ret, i; struct vivi_dev *dev; struct video_device *vfd; @@ -1128,6 +1128,7 @@ static int __init vivi_init(void) n_devs = 1; for (i = 0; i < n_devs; i++) { + ret = -ENOMEM; dev = kzalloc(sizeof(*dev), GFP_KERNEL); if (!dev) break; _ Patches currently in -mm which might be from henne@xxxxxxxxxxxxxxxx are linux-next.patch v4l-fix-retval-in-vivi-driver-for-more-than-one-device.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html