+ initialize-filp-private_data-only-once-in-em28xx_v4l2_open.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Initialize filp->private_data only once in em28xx_v4l2_open
has been added to the -mm tree.  Its filename is
     initialize-filp-private_data-only-once-in-em28xx_v4l2_open.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: Initialize filp->private_data only once in em28xx_v4l2_open
From: Rolf Eike Beer <eike-kernel@xxxxxxxxx>

Some lines later filp->private_data is initialized to dev again.  Since there
are some checks that might fail in the mean time keep the later version.

Signed-off-by: Rolf Eike Beer <eike-kernel@xxxxxxxxx>
Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/media/video/em28xx/em28xx-video.c |    2 --
 1 files changed, 2 deletions(-)

diff -puN drivers/media/video/em28xx/em28xx-video.c~initialize-filp-private_data-only-once-in-em28xx_v4l2_open drivers/media/video/em28xx/em28xx-video.c
--- a/drivers/media/video/em28xx/em28xx-video.c~initialize-filp-private_data-only-once-in-em28xx_v4l2_open
+++ a/drivers/media/video/em28xx/em28xx-video.c
@@ -268,8 +268,6 @@ static int em28xx_v4l2_open(struct inode
 	if (NULL == dev)
 		return -ENODEV;
 
-	filp->private_data=dev;
-
 	em28xx_videodbg("open minor=%d type=%s users=%d\n",
 				minor,v4l2_type_names[dev->type],dev->users);
 
_

Patches currently in -mm which might be from eike-kernel@xxxxxxxxx are

origin.patch
git-r8169.patch
initialize-filp-private_data-only-once-in-em28xx_v4l2_open.patch
fix-typos-in-fs-sysfs-filec.patch
document-pci_iomap.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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux