Re: usb/media/em28xx: use-after-free in dvb_unregister_frontend

2017-11-22 Thread Matthias Schwarzott
Am 21.11.2017 um 14:51 schrieb Andrey Konovalov: > Hi! > Hi Andrey, > I've got the following report while fuzzing the kernel with syzkaller. > > On commit e1d1ea549b57790a3d8cf6300e6ef86118d692a3 (4.15-rc1). > > em28xx 1-1:9.0: Disconnecting > tc90522 1-0015: Toshiba TC90522 attached. > qm1d1c0

Best android tv box

2017-11-22 Thread Aidan
Dear Sir/Madam, Nice to meet you. This is Aidan from SENROO company,specialized in android tv box and other consumer electronics since 2006. As a manufacturer,we can offer you high quality product at original factory price. For V88 rk3229 1g/8g tv box,17~19 USD /unit Tx3

cron job: media_tree daily build: WARNINGS

2017-11-22 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: Thu Nov 23 05:00:20 CET 2017 media-tree git hash:30b4e122d71cbec2944a5f8b558b88936ee42f10 media_build git

Re: [PATCH 3/5] media: i2c: Add TDA1997x HDMI receiver driver

2017-11-22 Thread Tim Harvey
On Wed, Nov 15, 2017 at 8:30 PM, Rob Herring wrote: > On Wed, Nov 15, 2017 at 10:31:14AM -0800, Tim Harvey wrote: >> On Wed, Nov 15, 2017 at 7:52 AM, Rob Herring wrote: >> > On Thu, Nov 09, 2017 at 10:45:34AM -0800, Tim Harvey wrote: >> >> Add support for the TDA1997x HDMI receivers. >> >> >> >>

Re: [PATCH 2/5] media: dt-bindings: Add bindings for TDA1997X

2017-11-22 Thread Tim Harvey
On Tue, Nov 21, 2017 at 11:36 PM, Sakari Ailus wrote: > Hi Tim, > > On Thu, Nov 09, 2017 at 10:45:33AM -0800, Tim Harvey wrote: >> Cc: Rob Herring >> Signed-off-by: Tim Harvey >> --- >> v3: >> - fix typo >> >> v2: >> - add vendor prefix and remove _ from vidout-portcfg >> - remove _ from labe

Re: [PATCH 3/5] media: i2c: Add TDA1997x HDMI receiver driver

2017-11-22 Thread Tim Harvey
On Mon, Nov 20, 2017 at 7:39 AM, Hans Verkuil wrote: > Hi Tim, > > Some more review comments: > > On 11/09/2017 07:45 PM, Tim Harvey wrote: >> Add support for the TDA1997x HDMI receivers. >> + */ >> +struct color_matrix_coefs { >> + const char *name; >> + /* Input offsets */ >> + s16

[PATCH] davinci: vpif_capture: add NULL check on devm_kzalloc return value

2017-11-22 Thread Gustavo A. R. Silva
Check return value from call to devm_kzalloc() in order to prevent a NULL pointer dereference. This issue was detected with the help of Coccinelle. Fixes: 4a5f8ae50b66 ("[media] davinci: vpif_capture: get subdevs from DT when available") Signed-off-by: Gustavo A. R. Silva --- drivers/media/pla

Re: [PATCH] au0828: fix use-after-free at USB probing

2017-11-22 Thread Gustavo A. R. Silva
Hi Andrey, I have successfully installed and tested syzkaller with QEMU. Can you please tell me how to reproduce this bug or share with me the full crash report? Also, can you point me out to the PoC file? Much appreciated Thank you! -- Gustavo A. R. Silva Quoting Andrey Konovalov : On

Re: [PATCH 1/1] s2255drv: f2255usb: firmware version 1.2.8

2017-11-22 Thread Ben Hutchings
On Fri, 2017-11-03 at 13:33 -0700, Dean Anderson wrote: > Updates the firmware for the s2255drv driver. > Adds support for NTSC4.43, horizontal/vertical adjustments and > Motion JPEG capture mode improvements. > > Signed-off-by: Dean Anderson > --- > f2255usb.bin | Bin 180776 -> 181312 bytes >

Re: [PATCH v2 1/3] media: V3s: Add support for Allwinner CSI.

2017-11-22 Thread Yong
Hi, On Wed, 22 Nov 2017 10:45:26 +0100 Maxime Ripard wrote: > Hi, > > On Wed, Nov 22, 2017 at 09:33:06AM +0800, Yong wrote: > > > On Thu, Jul 27, 2017 at 01:01:35PM +0800, Yong Deng wrote: > > > > Allwinner V3s SoC have two CSI module. CSI0 is used for MIPI interface > > > > and CSI1 is used fo

[PATCH V2 22/29] [media] atomisp: deprecate pci_get_bus_and_slot()

2017-11-22 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Getting ready to remove pci_get_bus_and_slot() function. Since ISP always uses domain 0, hard-code it in the code when call

dvbv5-scan: Missing NID, TID, and RID in VDR channel output

2017-11-22 Thread Gregor Jasny
Hello Mauro and list, since some days my region in Germany finally got DVB-T2 coverage. Something in the broadcasted tabled makes w_scan only find a subset each time. dvbv5-scan is somewhat more reliable. But with the VDR compatible channel list exported from dvbv5-scan I cannot make VDR produce

[GIT FIXES FOR v4.15] RC repeat and DVB fix

2017-11-22 Thread Sean Young
Hi Mauro, Here are two fixes which would be nice to have in v4.15. I am working on a better rework of the repeat stuff (including moving cec repeats into rc-core), but it is far too much change for v4.15 or the stable tree. Thanks, Sean The following changes since commit 30b4e122d71cbec2944a5f8

Re: [PATCH v3 2/4] [media] dt-bindings: Document BCM283x CSI2/CCP2 receiver

2017-11-22 Thread Dave Stevenson
On 21 November 2017 at 20:54, Eric Anholt wrote: > Rob Herring writes: > >> On Tue, Nov 21, 2017 at 1:26 PM, Eric Anholt wrote: >>> Dave Stevenson writes: >>> Hi Rob On 27 September 2017 at 22:51, Rob Herring wrote: > On Fri, Sep 22, 2017 at 05:07:22PM +0100, Dave Stevenson

[PATCH] dma-buf: Fix ifnullfree.cocci warnings

2017-11-22 Thread Vasyl Gomonovych
NULL check before some freeing functions is not needed. drivers/dma-buf/dma-buf.c:1183:2-26: WARNING: NULL check before freeing debugfs_remove_recursive Generated by: scripts/coccinelle/free/ifnullfree.cocci Signed-off-by: Vasyl Gomonovych --- drivers/dma-buf/dma-buf.c | 3 +-- 1 file changed,

Re: [PATCH] c8sectpfe: fix potential NULL pointer dereference in c8sectpfe_timer_interrupt

2017-11-22 Thread Gustavo A. R. Silva
On 11/21/2017 02:22 AM, Patrice CHOTARD wrote: Hi Gustavo On 11/20/2017 03:00 PM, Gustavo A. R. Silva wrote: _channel_ is being dereferenced before it is null checked, hence there is a potential null pointer dereference. Fix this by moving the pointer dereference after _channel_ has been null

Re: [PATCH 23/30] [media] atomisp: deprecate pci_get_bus_and_slot()

2017-11-22 Thread Sinan Kaya
On 11/22/2017 9:05 AM, Sinan Kaya wrote: > Hi Alex, I tried to mean Alan. Sorry about that. Apparently, I didn't have enough coffee this morning. I shouldn't touch the code for a few hours. -- Sinan Kaya Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qua

Re: [PATCH 23/30] [media] atomisp: deprecate pci_get_bus_and_slot()

2017-11-22 Thread Sinan Kaya
Hi Alex, On 11/22/2017 7:20 AM, Alan Cox wrote: > On Wed, 2017-11-22 at 00:31 -0500, Sinan Kaya wrote: >> pci_get_bus_and_slot() is restrictive such that it assumes domain=0 >> as >> where a PCI device is present. This restricts the device drivers to >> be >> reused for other domain numbers. > >

Re: media: coda: sources of coda_regs.h?

2017-11-22 Thread Martin Kepplinger
Am 22.11.2017 11:40 schrieb Philipp Zabel: Hi Martin, On Thu, 2017-11-09 at 23:14 +0100, Martin Kepplinger wrote: Hi Philipp, As I'm reading up on the coda driver a little, I can't seem to find the vendor's sources for the coda_regs.h definitions. Could you point me to them? I don't know

Re: [PATCH] media: coda: fix comparision of decoded frames' indexes

2017-11-22 Thread Philipp Zabel
Hi Martin, On Fri, 2017-11-17 at 15:30 +0100, Martin Kepplinger wrote: > At this point the driver looks the currently decoded frame's index > and compares is to VPU-specific state values. Directly before this > if and else statements the indexes are read (index for decoded and > for displayed fram

Re: [PATCH v2 2/4] dt-bindings: media: rcar_vin: add device tree support for r8a774[35]

2017-11-22 Thread Geert Uytterhoeven
On Thu, Nov 16, 2017 at 7:22 PM, Fabrizio Castro wrote: > Add compatible strings for r8a7743 and r8a7745. No driver change > is needed as "renesas,rcar-gen2-vin" will activate the right code. > However, it is good practice to document compatible strings for the > specific SoC as this allows SoC sp

Re: [PATCH 23/30] [media] atomisp: deprecate pci_get_bus_and_slot()

2017-11-22 Thread Alan Cox
On Wed, 2017-11-22 at 00:31 -0500, Sinan Kaya wrote: > pci_get_bus_and_slot() is restrictive such that it assumes domain=0 > as > where a PCI device is present. This restricts the device drivers to > be > reused for other domain numbers. The ISP v2 will always been in domain 0. Alan

Re: media: coda: sources of coda_regs.h?

2017-11-22 Thread Philipp Zabel
Hi Martin, On Thu, 2017-11-09 at 23:14 +0100, Martin Kepplinger wrote: > Hi Philipp, > > As I'm reading up on the coda driver a little, I can't seem to find the > vendor's sources for the coda_regs.h definitions. Could you point me to > them? I don't know for sure what information Javier based t

Re: [PATCH v2 1/3] media: V3s: Add support for Allwinner CSI.

2017-11-22 Thread Maxime Ripard
Hi, On Wed, Nov 22, 2017 at 09:33:06AM +0800, Yong wrote: > > On Thu, Jul 27, 2017 at 01:01:35PM +0800, Yong Deng wrote: > > > Allwinner V3s SoC have two CSI module. CSI0 is used for MIPI interface > > > and CSI1 is used for parallel interface. This is not documented in > > > datasheet but by test

[PATCH] cec: disable the hardware when unregistered

2017-11-22 Thread Hans Verkuil
When the device is being unregistered disable the hardware, don't wait until cec_delete_adapter is called as the hardware may have disappeared by then. This would be the case for hotplugable devices. Signed-off-by: Hans Verkuil Reported-by: Bård Eirik Winther Tested-by: Bård Eirik Winther ---