cron job: media_tree daily build: ERRORS

2015-10-01 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: Fri Oct 2 04:00:17 CEST 2015 git branch: test git hash: ca739eb086155007d7264be7ccc07f894d5a7bbe gcc versi

drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c:691:23-26: WARNING: Suspicious code. resource_size is maybe missing with res

2015-10-01 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ccf70ddcbe9984cee406be2bacfedd5e4776919d commit: 409e9eff727295b93a5dde51988a6f8646e5aa6b [media] c8sectpfe: Allow compiling it with COMPILE_TEST date: 7 weeks ago coccinelle warnings: (new ones prefixed

drivers/media/pci/netup_unidvb/netup_unidvb_spi.c:84:16-22: ERROR: spi is NULL but dereferenced.

2015-10-01 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ccf70ddcbe9984cee406be2bacfedd5e4776919d commit: 52b1eaf4c59a3bbd07afbb4ab4f43418a807d02e [media] netup_unidvb: NetUP Universal DVB-S/S2/T/T2/C PCI-E card driver date: 7 weeks ago coccinelle warnings: (n

[PATCH 4/7] [media] netup_unidvb_ci: Fix dereference of noderef expression

2015-10-01 Thread Mauro Carvalho Chehab
Fix those sparse warnings: drivers/media/pci/netup_unidvb/netup_unidvb_ci.c:150:40: warning: dereference of noderef expression drivers/media/pci/netup_unidvb/netup_unidvb_ci.c:165:31: warning: dereference of noderef expression drivers/media/pci/netup_unidvb/netup_unidvb_ci

[PATCH 3/7] [media] netup_unidvb: remove most of the sparse warnings

2015-10-01 Thread Mauro Carvalho Chehab
There is a mess at the namespace on netup_unidvb: drivers/media/pci/netup_unidvb/netup_unidvb_core.c:192:41: warning: incorrect type in argument 2 (different address spaces) drivers/media/pci/netup_unidvb/netup_unidvb_core.c:192:41:expected void volatile [noderef] *addr drivers/media/pci/net

[PATCH 1/7] [media] media-entity.c: get rid of var length arrays

2015-10-01 Thread Mauro Carvalho Chehab
Fix those sparse warnings: drivers/media/media-entity.c:238:17: warning: Variable length array is used. drivers/media/media-entity.c:239:17: warning: Variable length array is used. That allows sparse and other code check tools to verify if the function is using more stack than al

[PATCH 0/7] Fix most sparse warnings

2015-10-01 Thread Mauro Carvalho Chehab
There are still some sparse warnings. None of them are currently real bug, but they make sparse to be confused, and namespaces are not properly used. That could hide bug on some future change. So, fix them. After this series, there are just 2 sparse warnings: drivers/media/platform/timblogiw.c:5

[PATCH 6/7] [media] c8sectpfe: fix namespace on memcpy/memset

2015-10-01 Thread Mauro Carvalho Chehab
Solves those sparse warnings: drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c:1087:9: warning: incorrect type in argument 1 (different address spaces) drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c:1087:9:expected void * drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c:1087

[PATCH 2/7] [media] s5c73m3: fix a sparse warning

2015-10-01 Thread Mauro Carvalho Chehab
drivers/media/i2c/s5c73m3/s5c73m3-core.c:170:39: warning: incorrect type in argument 1 (different base types) drivers/media/i2c/s5c73m3/s5c73m3-core.c:170:39:expected restricted __be16 const [usertype] *p drivers/media/i2c/s5c73m3/s5c73m3-core.c:170:39:got unsigned short [usertype] * Si

[PATCH 5/7] [media] mipi-csis: make sparse happy

2015-10-01 Thread Mauro Carvalho Chehab
Fix the namespace issue that causes this warning: drivers/media/platform/exynos4-is/mipi-csis.c:709:17: warning: incorrect type in argument 2 (different address spaces) drivers/media/platform/exynos4-is/mipi-csis.c:709:17:expected void const * drivers/media/platform/exynos4-is/mipi-csis.c:70

[PATCH 7/7] [media] rcar_jpu: Fix namespace for two __be16 vars

2015-10-01 Thread Mauro Carvalho Chehab
Fixes those sparse warnings: drivers/media/platform/rcar_jpu.c:1150:51: warning: incorrect type in assignment (different base types) drivers/media/platform/rcar_jpu.c:1150:51:expected unsigned short [unsigned] [short] [usertype] drivers/media/platform/rcar_jpu.c:1150:

Re: [PATCH] Add Terratec H7 Revision 4 to DVBSky driver

2015-10-01 Thread Roger Mårtensson
Den 2015-10-01 kl. 23:01, skrev Roger Mårtensson: Den 2015-09-19 kl. 19:30, skrev Erik Andresen: Adds Terratec H7 Rev. 4 with USB id 0ccd:10a5 to DVBSky driver. I have tested this on a Custom Linux 4.2 kernel and it is working as expected. Noticed a few things. 1) "Supported:" on ir-keytabl

Re: [PATCH] Add Terratec H7 Revision 4 to DVBSky driver

2015-10-01 Thread Roger Mårtensson
Den 2015-09-19 kl. 19:30, skrev Erik Andresen: Adds Terratec H7 Rev. 4 with USB id 0ccd:10a5 to DVBSky driver. I have tested this on a Custom Linux 4.2 kernel and it is working as expected. Noticed a few things. 1) "Supported:" on ir-keytable doesn't show anything. 1b) Setting RC-5 with ir-k

Re: Terratec H7 Rev. 4 is DVBSky

2015-10-01 Thread Roger Mårtensson
Den 2015-09-20 kl. 11:05, skrev Erik Andresen: Hi Roger, I'm not able to enable any protocols. Nothing happens when running ir-keytable with "-p rc-5". Nothing shows in the row "Enabled protocols" and nothing happens when testing with "ir-keytable -t". try to give it the device, e.g. ir-key

[PATCH] [media] drxd: use kzalloc in drxd_attach()

2015-10-01 Thread Rasmus Villemoes
This saves a little .text and removes the sizeof(...) style inconsistency. Use sizeof(*state) in accordance with CodingStyle. Signed-off-by: Rasmus Villemoes --- drivers/media/dvb-frontends/drxd_hard.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/media/dvb-fronte

[PATCH 1/5] [media] DocBook: add the new videobuf2-v4l2 header

2015-10-01 Thread Mauro Carvalho Chehab
This header should also be used to generate documentation. So, add it. Signed-off-by: Mauro Carvalho Chehab diff --git a/Documentation/DocBook/device-drivers.tmpl b/Documentation/DocBook/device-drivers.tmpl index 1d6008d51b55..31cefc9af98e 100644 --- a/Documentation/DocBook/device-drivers.tmpl

[PATCH 3/5] [media] DocBook: Fix documentation for struct v4l2_dv_timings

2015-10-01 Thread Mauro Carvalho Chehab
Fix this warning: include/media/v4l2-dv-timings.h:29: warning: cannot understand function prototype: 'const struct v4l2_dv_timings v4l2_dv_timings_presets[]; ' Unfortunately, currently, it seems that doc-nano doesn't support documenting extern static vars. Signed-off-by: Mauro Carvalho C

[PATCH 2/5] [media] dvbdev: Remove two cut-and-paste errors

2015-10-01 Thread Mauro Carvalho Chehab
Those two came from dvb_register_adapter cut-and-paste: .//drivers/media/dvb-core/dvbdev.h:199: warning: Excess function parameter 'device' description in 'dvb_register_device' .//drivers/media/dvb-core/dvbdev.h:199: warning: Excess function parameter 'adapter_nums' description i

[PATCH 5/5] [media] DocBook: Remove a warning at videobuf2-v4l2.h

2015-10-01 Thread Mauro Carvalho Chehab
There's no need to document to_foo() macros, and the macro is badly documented anyway. That removes this warning: include/media/videobuf2-v4l2.h:43: warning: No description found for parameter 'vb' While here, remove the parenthesis for container_of(). The countainer_of() already have par

[PATCH 4/5] [media] DocBook: fix most of warnings at videobuf2-core.h

2015-10-01 Thread Mauro Carvalho Chehab
include/media/videobuf2-core.h:112: warning: No description found for parameter 'get_dmabuf' include/media/videobuf2-core.h:146: warning: No description found for parameter 'm' include/media/videobuf2-core.h:146: warning: Excess struct/union/enum/typedef member 'mem_offse

How to fix DocBook parsers for private fields inside #ifdefs

2015-10-01 Thread Mauro Carvalho Chehab
Hi Jon, I'm trying to cleanup some warnings when creating docbooks for a struct located at include/media/videobuf2-core.h. This is the struct: struct vb2_buffer { struct vb2_queue*vb2_queue; unsigned intindex; unsigned inttype; un

iMX6 CSI capture support?

2015-10-01 Thread David Müller
Hello Some time ago, there were some patches around implementing CSI capture support for the iMX6 IPU. It seems like these patches never made it into the vanilla kernel tree. What is the status of iMX6 CSI capture support? Thank you -- To unsubscribe from this list: send the line "unsubscribe l

[PATCH] [media] i2c: fix platform_no_drv_owner.cocci warnings

2015-10-01 Thread kbuild test robot
drivers/media/i2c/ml86v7667.c:430:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Geert Uytterhoeven Signed-off-by: Fengguang Wu --- ml86v7667.c |

drivers/media/i2c/ml86v7667.c:430:3-8: No need to set .owner here. The core will do it.

2015-10-01 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f97b870eced0ec562f953d32eda03906c7dacad6 commit: 5cc596c66fe7c725ec049ae2093e7242034c97d6 [media] i2c: Make all i2c devices visible if COMPILE_TEST=y date: 7 weeks ago coccinelle warnings: (new ones pref

[linuxtv-media:master 1648/1648] DockBook: include/media/videobuf2-core.h:146: warning: No description found for parameter 'm'

2015-10-01 Thread kbuild test robot
tree: git://linuxtv.org/media_tree.git master head: 2d7007153f0c9b1dd00c01894df7d26ddc32b79f commit: 2d7007153f0c9b1dd00c01894df7d26ddc32b79f [1648/1648] [media] media: videobuf2: Restructure vb2_buffer reproduce: make htmldocs All warnings (new ones prefixed by >>): include/linux/init.h:

Re: [RFC PATCH] media: uvc: *HACK* workaround uvc unregister device *HACK*

2015-10-01 Thread Yasushi SHOJI
Hi, Sorry to follow up on an old message, but: On Fri, 31 Oct 2014 19:41:33 +0900, Laurent Pinchart wrote: > > On Thursday 02 October 2014 18:09:47 Michael Grzeschik wrote: > > Currently the uvc_driver is not cleaning up its child devices if a > > device is still in use. It leads to orphaned dev

[PATCH 0/2] media: platform: rcar_jpu: code cleanup and release function changes

2015-10-01 Thread Mikhail Ulyanov
This series of patches includes improvements and code cleanup for rcar_jpu driver. Mikhail Ulyanov (2): V4L2: platform: rcar_jpu: remove redundant code V4L2: platform: rcar_jpu: switch off clock on release later drivers/media/platform/rcar_jpu.c | 13 + 1 file changed, 5 inserti

[PATCH 2/2] V4L2: platform: rcar_jpu: switch off clock on release later

2015-10-01 Thread Mikhail Ulyanov
Give JPU peripheral chance to finish current job. Don't switch off clock until context release. Signed-off-by: Mikhail Ulyanov --- drivers/media/platform/rcar_jpu.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/media/platform/rcar_jpu.c b/drivers/media/p

[PATCH 1/2] V4L2: platform: rcar_jpu: remove redundant code

2015-10-01 Thread Mikhail Ulyanov
Remove redundant code. Following code line do what we want. Signed-off-by: Mikhail Ulyanov --- drivers/media/platform/rcar_jpu.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/media/platform/rcar_jpu.c b/drivers/media/platform/rcar_jpu.c index 2973f07..039bbbc 100644 --- a/driver

Re: [PATCH v3 5/5] [media] imx-ipu: Add i.MX IPUv3 scaler driver

2015-10-01 Thread Jean-Michel Hautbois
Hi Philipp, Hans, 2015-07-24 17:12 GMT+02:00 Hans Verkuil : > Hi Philipp, > > A quick review of this driver: > > On 07/16/2015 06:24 PM, Philipp Zabel wrote: >> From: Sascha Hauer >> >> This patch adds support for hardware accelerated scaling and color >> space conversion between memory buffers