The File handle is not yet added in the vdev list.So no need to call
v4l2_fh_del(>fh)if it fails to create control.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/sti/bdisp/bdisp-v4l2.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
The File handle is not yet added in the vfd list.So no need to call
v4l2_fh_del(>fh) if it fails to create control.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/exynos-gsc/gsc-m2m.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
The File handle is not yet added in the vfd list.So no need to call
v4l2_fh_del(>fh) if it fails to create control.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/exynos4-is/fimc-m2m.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
The File handle is not yet added in the vdev list.So no need to call
v4l2_fh_del(>fh)if it fails to create control.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/sti/bdisp/bdisp-v4l2.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
Both functions initialize the file handle with v4l2_fh_init()
and thus need to call clean up with v4l2_fh_exit() as appropriate.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/staging/media/omap4iss/iss_video.c |2 ++
1 file changed, 2 insertions(+)
diff
v4l2_fh_init is already done.So call the v4l2_fh_exit in error condition
before returing from the function.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/vsp1/vsp1_video.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/platfor
Both functions initialize the file handle with v4l2_fh_init()
and thus need to call clean up with v4l2_fh_exit() as appropriate.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/omap3isp/ispvideo.c |2 ++
1 file changed, 2 insertions(+)
diff
The File handle is not yet added in the vfd list.So no need to call
v4l2_fh_del(>fh) if it fails to create control.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/exynos-gsc/gsc-m2m.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
The File handle is not yet added in the vfd list.So no need to call
v4l2_fh_del(>fh) if it fails to create control.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/exynos4-is/fimc-m2m.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
v4l2_fh_init is already done.So call the v4l2_fh_exit in error condition
before returing from the function.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/vsp1/vsp1_video.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/platfor
Fix to avoid possible memory leak if the decoder initialization
got failed.Free the allocated memory for file handle object
before return in case decoder initialization fails.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/staging/media/davinci_vpfe/vpfe_video.c
The File handle is not yet added in the vfd list.So no need to call
v4l2_fh_del(>fh) if it fails to create control.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/exynos-gsc/gsc-m2m.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
Fix to avoid possible memory leak if the decoder initialization got failed.
Free the allocated memory for file handle object before return in case
decoder initialization fails.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/davinci/vpfe_capture.c
v4l2_fh_init is already done.So call the v4l2_fh_exit in error condition
before returing from the function.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/staging/media/omap4iss/iss_video.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging
The File handle is not yet added in the vdev list.So no need to call
v4l2_fh_del(>fh)if it fails to create control.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/sti/bdisp/bdisp-v4l2.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
v4l2_fh_init is already done.So call the v4l2_fh_exit in error condition
before returing from the function.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/omap3isp/ispvideo.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/pl
The File handle is not yet added in the vfd list.So no need to call
v4l2_fh_del(>fh) if it fails to create control.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/exynos4-is/fimc-m2m.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
From: "Shailendra Verma" <shailendr...@samsung.com>
Fix to avoid possible memory leak if the decoder initialization
got failed.Free the allocated memory for file handle object
before return in case decoder initialization fails.
Signed-off-by: Shailendra Verma <shailendra.
From: "Shailendra Verma" <shailendr...@samsung.com>
There is no need to call kfree() if memdup_user() fails, as no memory
was allocated and the error in the error-valued pointer should be returned.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
driv
From: "Shailendra Verma" <shailendr...@samsung.com>
There is no need to call kfree() if memdup_user() fails, as no memory
was allocated and the error in the error-valued pointer should be returned.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
driv
This is of course wrong to call kfree() if memdup_user() fails,
no memory was allocated and the error in the error-valued pointer
should be returned.
Reviewed-by: Ravikant Sharma <ravikant...@samsung.com>
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/stagin
21 matches
Mail list logo