cron job: media_tree daily build: ERRORS

2017-04-23 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Mon Apr 24 05:00:16 CEST 2017 media-tree git hash:9eb9db3a0f92b75ec710066202e0b2accb45afa9 media_build

[PATCH] V4L2 SDR: Add Real U8 format (V4L2_SDR_FMT_RU8)

2017-04-23 Thread Bertold Van den Bergh
This patch adds support for the Real U8 format to the V4L2 SDR framework. This will be used for a piece of hardware we are developing. Signed-off-by: Bertold Van den Bergh --- drivers/media/v4l2-core/v4l2-ioctl.c | 1 + include/uapi/linux/videodev2.h | 1 + 2

[linux-next:master 10537/11560] drivers/media//i2c/ov2640.c:744: warning: unused variable 'priv'

2017-04-23 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 26e01a6fde2542bb020aa303787f8a57c49f5f37 commit: a463ea990d2138ca93027b006be96a0324b77fe4 [10537/11560] [media] ov2640: make GPIOLIB an optional dependency config: x86_64-randconfig-s1-04240509 (attached

[PATCH 1/2] [media] vb2: Fix an off by one error in 'vb2_plane_vaddr'

2017-04-23 Thread Christophe JAILLET
We should ensure that 'plane_no' is '< vb->num_planes' as done in 'vb2_plane_cookie' just a few lines below. Signed-off-by: Christophe JAILLET --- drivers/media/v4l2-core/videobuf2-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 2/2] [media] vb2: Fix error handling in '__vb2_buf_mem_alloc'

2017-04-23 Thread Christophe JAILLET
'call_ptr_memop' can return NULL, so we must test its return value with 'IS_ERR_OR_NULL'. Otherwise, the test 'if (mem_priv)' is meaningless. Signed-off-by: Christophe JAILLET --- Note that error checking after 'call_ptr_memop' calls is not consistent in this file.

[PATCH 1/1] [media] cx25840: fix unchecked return values

2017-04-23 Thread Pan Bian
From: Pan Bian In functions cx25840_initialize(), cx231xx_initialize(), and cx23885_initialize(), the return value of create_singlethread_workqueue() is used without validation. This may result in NULL dereference and cause kernel crash. This patch fixes it. Signed-off-by:

Re: [PATCH 1/3] [media] si2157: get chip id during probing

2017-04-23 Thread Andreas Kemnade
On Sun, 23 Apr 2017 15:19:21 +0300 Antti Palosaari wrote: > On 03/16/2017 12:22 AM, Andreas Kemnade wrote: > > If the si2157 is behind a e.g. si2168, the si2157 will > > at least in some situations not be readable after the si268 > > got the command 0101. It still accepts commands

Re: [PATCH 1/3] [media] si2157: get chip id during probing

2017-04-23 Thread Antti Palosaari
On 03/16/2017 12:22 AM, Andreas Kemnade wrote: If the si2157 is behind a e.g. si2168, the si2157 will at least in some situations not be readable after the si268 got the command 0101. It still accepts commands but the answer is just ff. So read the chip id before that so the information is

[PATCH 1/1] [media] cobalt: fix unchecked return values

2017-04-23 Thread Pan Bian
From: Pan Bian Function pci_find_ext_capability() may return 0, which is an invalid address. In function cobalt_pcie_status_show(), its return value is used without validation. This patch adds checks to validate the return address. Signed-off-by: Pan Bian

Re: [da...@fries.net: [PATCH] xawtv allow ./configure --disable-alsa to compile when alsa is available]

2017-04-23 Thread Mauro Carvalho Chehab
Hi Maximiliano, Em Sun, 23 Apr 2017 11:39:29 +0200 Maximiliano Curia escreveu: > Hi, > > I've received a patch for xawtv made by David Fries (I maintain xawtv in > Debian) that I think it would be nice to include in the xawtv3 [1] git > repository and in > the next bug fix

[da...@fries.net: [PATCH] xawtv allow ./configure --disable-alsa to compile when alsa is available]

2017-04-23 Thread Maximiliano Curia
Hi, I've received a patch for xawtv made by David Fries (I maintain xawtv in Debian) that I think it would be nice to include in the xawtv3 [1] git repository and in the next bug fix release. Currently I don't have commit access and I'm not subscribed to the linux-media mailing list because I

[PATCH 1/1] m5602_s5k83a: check return value of kthread_create

2017-04-23 Thread Pan Bian
From: Pan Bian Function kthread_create() returns an ERR_PTR on error. However, in function s5k83a_start(), its return value is used without validation. This may result in a bad memory access bug. This patch fixes the bug. Signed-off-by: Pan Bian ---