lkml.org 
[lkml]   [2020]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] media: v4l2-fh: define v4l2_fh struct regardless of condition
On Mon, Mar 23, 2020 at 11:30:45AM +0900, Seungchul Kim wrote:
> v4l2_fh struct define differently by CONFIG_V4L2_MEM2MEM_DEV.
> If some vendors use CONFIG_V4L2_MEM2MEM_DEV by module, it can make the
> mismatch of v4l2_fh sturct.
>
> By the mismatch, the following error occurs.
> ===============================
> [ 7.533506] v4l2_mem2mem: disagrees about version of symbol video_devdata
> [ 7.533594] v4l2_mem2mem: Unknown symbol video_devdata (err -22)
> [ 7.535319] v4l2_mem2mem: disagrees about version of symbol
> v4l2_event_pending
> [ 7.542532] v4l2_mem2mem: Unknown symbol v4l2_event_pending (err -22)
> ===============================
>
> So v4l2_fh struct is modified to does not have dependency for
> CONFIG_V4L2_MEM2MEM_DEV.
>
> Signed-off-by: Seungchul Kim <sc377.kim@samsung.com>
> ---
> include/media/v4l2-fh.h | 2 --
> 1 file changed, 2 deletions(-)

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

\
 
 \ /
  Last update: 2020-03-25 09:59    [W:0.067 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site