reference to `__tracepoint_vb2_qbuf'
drivers/media/common/videobuf2/videobuf2-core.o:(__jump_table+0x58):
undefined reference to `__tracepoint_vb2_dqbuf'
Reported-by: kbuild test robot <fengguang...@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
d
ferent base types): => 1071:27
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
drivers/media/i2c/ov13858.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/drivers/media/i2c/ov13858.c b/drivers/media/i2c/ov13858.c
index 1f260d346a29..d415
1 warning regressions:
+ drivers/media/i2c/tda1997x.c: warning: variable 'last_irq_status' set but
not used [-Wunused-but-set-variable]: => 1421:17
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
drivers/media/i2c/tda1997x.c | 4 ++--
1 file changed, 2 inserti
Em Mon, 19 Feb 2018 17:27:52 +0300
Dan Carpenter <dan.carpen...@oracle.com> escreveu:
> [ This is obviously ancient code. It's probably fine. I've just been
> going through all array overflow warnings recently. - dan ]
>
> Hello Mauro Carvalho Chehab,
>
> The patc
Em Wed, 14 Feb 2018 20:20:21 +0200
Jani Nikula <jani.nik...@linux.intel.com> escreveu:
> On Wed, 14 Feb 2018, Mauro Carvalho Chehab <mche...@s-opensource.com> wrote:
> > There is a simple fix, though. Make inline comments to accept a dot:
> >
> > diff --git a/sc
Em Fri, 16 Feb 2018 12:12:20 +0200
Sakari Ailus <sakari.ai...@iki.fi> escreveu:
> Hi Mauro,
>
> On Wed, Feb 14, 2018 at 02:20:50PM -0200, Mauro Carvalho Chehab wrote:
> > Em Mon, 22 Jan 2018 13:31:20 +0100
> > Hans Verkuil <hverk...@xs4all.nl> escreveu:
> >
Em Fri, 16 Feb 2018 11:04:36 +0200
Sakari Ailus <sakari.ai...@iki.fi> escreveu:
> On Wed, Feb 14, 2018 at 02:14:30PM -0200, Mauro Carvalho Chehab wrote:
> > Sakari,
> >
> > Em Mon, 22 Jan 2018 13:31:19 +0100
> > Hans Verkuil <hverk...@xs4all.nl> es
Em Wed, 14 Feb 2018 21:32:07 +
Sean Young <s...@mess.org> escreveu:
> Hi Mauro,
>
> On Wed, Feb 14, 2018 at 04:44:48PM -0200, Mauro Carvalho Chehab wrote:
> > Hi Sean,
> >
> > Em Mon, 12 Feb 2018 20:03:18 +
> > Sean Young <s...
+
> Subject: media: rc: unnecessary use of do_div
> Cc: Linux Media Mailing List <linux-media@vger.kernel.org>,
> Mauro Carvalho Chehab <mche...@infradead.org>
>
> No need to use do_div() when the remainder is thrown away.
That's not true at all! We need do_div()
Hi Sean,
Em Mon, 12 Feb 2018 20:03:18 +
Sean Young escreveu:
> Hi Mauro,
>
> Just very minor changes this time (other stuff is not ready yet). I would
> really appreciate if you could cast an extra critical eye on the commit
> "no need to check for transitions", just to be
Em Wed, 7 Feb 2018 15:39:34 +0100
Hans Verkuil escreveu:
> From: Hans Verkuil
>
> Replace the old license information with the corresponding SPDX
> license for those headers that I authored.
>
> Signed-off-by: Hans Verkuil
...
Em Wed, 14 Feb 2018 18:07:03 +0200
Jani Nikula <jani.nik...@linux.intel.com> escreveu:
> On Mon, 18 Dec 2017, Mauro Carvalho Chehab <mche...@s-opensource.com> wrote:
> > It is possible to use nested structs like:
> >
> > struct {
> > struct {
> &g
Em Wed, 14 Feb 2018 18:16:55 +0100
Hans Verkuil <hverk...@xs4all.nl> escreveu:
> On 14/02/18 18:02, Mauro Carvalho Chehab wrote:
> > Em Wed, 14 Feb 2018 17:34:17 +0100
> > Hans Verkuil <hverk...@xs4all.nl> escreveu:
> >
> >> On 14/02/18 17:03, Mauro
Em Wed, 14 Feb 2018 17:34:17 +0100
Hans Verkuil <hverk...@xs4all.nl> escreveu:
> On 14/02/18 17:03, Mauro Carvalho Chehab wrote:
> > Em Mon, 22 Jan 2018 13:31:18 +0100
> > Hans Verkuil <hverk...@xs4all.nl> escreveu:
> >
> >> From: Hans Verkuil <ha
Em Wed, 14 Feb 2018 17:23:51 +0100
Hans Verkuil <hverk...@xs4all.nl> escreveu:
> On 14/02/18 16:50, Mauro Carvalho Chehab wrote:
> > Em Mon, 22 Jan 2018 13:31:17 +0100
> > Hans Verkuil <hverk...@xs4all.nl> escreveu:
> >
> >> From: Hans Verkuil <han
Em Mon, 22 Jan 2018 13:31:20 +0100
Hans Verkuil escreveu:
> From: Sakari Ailus
>
> Disable configurations for non-preview modes until configuration selection
> is improved.
Again, a poor description. It just repeats the subject.
A good
Sakari,
Em Mon, 22 Jan 2018 13:31:19 +0100
Hans Verkuil escreveu:
> From: Sakari Ailus
>
> Remove sensor driver's interface that made use of use case specific
> knowledge of platform capabilities.
Could you better describe it? What s_param
Em Mon, 22 Jan 2018 13:31:18 +0100
Hans Verkuil escreveu:
> From: Hans Verkuil
>
> Convert all g/s_parm calls to g/s_frame_interval. This allows us
> to remove the g/s_parm ops since those are a duplicate of
> g/s_frame_interval.
>
> Signed-off-by:
Em Mon, 22 Jan 2018 13:31:17 +0100
Hans Verkuil escreveu:
> From: Hans Verkuil
>
> Create helpers to handle VIDIOC_G/S_PARM by querying the
> g/s_frame_interval v4l2_subdev ops.
>
> Signed-off-by: Hans Verkuil
> ---
>
If v4l2_subdev_core_ops.g_register fails, it should be
returning an error code to userspace, instead of zero.
Fixes:
drivers/media/i2c/ov7740.c: warning: variable 'ret' set but not used
[-Wunused-but-set-variable]: => 276:6
Signed-off-by: Mauro Carvalho Chehab <mch
Now that we have support for a buffer counter and for
error flags, update them at DMX_DQBUF.
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
drivers/media/dvb-core/dmxdev.c| 24 +---
drivers/media/dvb-core/dvb_demux.c
org/mchehab/experimental-v4l-utils.git/log/?h=dvb-mmap-v2
Please notice that the API is experimental, and may still change
until we release the final version of Kernel 4.16.
Have fun,
Mauro
Mauro Carvalho Chehab (4):
media: dmxdev: fix error code for invalid ioctls
media: dmxdev: Fix the lo
Some conditions required for DVB mmap support to work are reversed.
Also, the logic is not too clear.
So, improve the logic, making it easier to be handled.
PS.: I'm pretty sure that I fixed it while testing, but, somehow,
the change got lost.
Signed-off-by: Mauro Carvalho Chehab <mche..
Returning -EINVAL when an ioctl is not implemented is a very
bad idea, as it is hard to distinguish from other error
contitions that an ioctl could lead. Replace it by its
right error code: -ENOTTY.
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
drivers/media/dv
While userspace can detect discontinuity errors, it is useful to
also let Kernelspace reporting discontinuity, as it can help to
identify if the data loss happened either at Kernel or userspace side.
Update documentation accordingly.
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.
while testing DVB MMAP patches on Raspberry Pi 3 with
DVBSky S960CI.
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
drivers/media/dvb-frontends/m88ds3103.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/media/dvb-frontends/m88ds3103.c
b/d
While userspace can detect discontinuity errors, it is useful to
also let Kernelspace reporting discontinuity, as it can help to
identify if the data loss happened either at Kernel or userspace side.
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
include/uapi/linux/dvb
Some conditions required for DVB mmap support to work are reversed.
Also, the logic is not too clear.
So, improve the logic, making it easier to be handled.
PS.: I'm pretty sure that I fixed it while testing, but, somehow,
the change got lost.
Signed-off-by: Mauro Carvalho Chehab <mche..
Now that we have support for a buffer counter and for
error flags, update them at DMX_DQBUF.
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
drivers/media/dvb-core/dmxdev.c| 11 +++--
drivers/media/dvb-core/dvb_demux.c | 95 --
d
after assignment instead of comma
media: cx23885: Use semicolon after assignment instead of comma
media: MAINTAINERS: add si2165 driver
Mauro Carvalho Chehab (105):
media: rc: add SPDX identifiers to the code I wrote
media: tuners: add SPDX identifiers to the code I wrote
Em Mon, 5 Feb 2018 23:48:38 +0200
Sakari Ailus escreveu:
> Hi Mauro and Hans,
> > Adding pad index to new API is trivial, as your RFC patch pointed.
> >
> > Changing media-ctl to fully use the new ioctl is not trivial, as it
> > was written on a non-portable way, very
Em Mon, 5 Feb 2018 18:01:34 +0100
Hans Verkuil <hverk...@xs4all.nl> escreveu:
> On 02/05/2018 05:59 PM, Hans Verkuil wrote:
> > On 02/05/2018 05:55 PM, Mauro Carvalho Chehab wrote:
> >> Em Mon, 5 Feb 2018 14:37:29 -0200
> >> Mauro Carvalho Chehab <mche...@k
Em Mon, 5 Feb 2018 14:37:29 -0200
Mauro Carvalho Chehab <mche...@kernel.org> escreveu:
> Em Mon, 5 Feb 2018 08:21:54 -0800
> Tim Harvey <thar...@gateworks.com> escreveu:
>
> > Hans,
> >
> > I'm failing compile (of master 4ee9911) with:
> >
> >
Em Mon, 5 Feb 2018 08:21:54 -0800
Tim Harvey escreveu:
> Hans,
>
> I'm failing compile (of master 4ee9911) with:
>
> CXX v4l2_compliance-media-info.o
> media-info.cpp: In function ‘media_type media_detect_type(const char*)’:
> media-info.cpp:79:39: error: no
Em Mon, 5 Feb 2018 16:19:28 +0100
Hans Verkuil escreveu:
> On 02/05/2018 03:30 PM, Sakari Ailus wrote:
> > Hi Hans,
> >
> > On Mon, Feb 05, 2018 at 01:30:04PM +0100, Hans Verkuil wrote:
> >> On 02/05/2018 12:59 PM, Sakari Ailus wrote:
> >>> Hi Hans,
> >>>
> >>> On Mon,
Em Mon, 5 Feb 2018 14:47:51 +0100
Hans Verkuil <hverk...@xs4all.nl> escreveu:
> On 02/05/2018 02:17 PM, Mauro Carvalho Chehab wrote:
> > Em Mon, 5 Feb 2018 12:55:21 +0100
> > Hans Verkuil <hverk...@xs4all.nl> escreveu:
> >
> >> On 02/05/2018 12:15 P
Em Mon, 5 Feb 2018 13:42:48 +0100
Hans Verkuil <hverk...@xs4all.nl> escreveu:
> On 02/05/2018 01:39 PM, Mauro Carvalho Chehab wrote:
> > Em Sun, 4 Feb 2018 14:53:31 +0100
> > Hans Verkuil <hverk...@xs4all.nl> escreveu:
> >
> >> Userspace has no w
Em Mon, 5 Feb 2018 12:38:29 +0100
Hans Verkuil <hverk...@xs4all.nl> escreveu:
> On 02/05/2018 12:15 PM, Mauro Carvalho Chehab wrote:
> > Hi Hans,
> >
> > Em Sun, 4 Feb 2018 14:06:42 +0100
> > Hans Verkuil <hverk...@xs4all.nl> escreveu:
> >
> >
Em Mon, 5 Feb 2018 12:55:21 +0100
Hans Verkuil <hverk...@xs4all.nl> escreveu:
> On 02/05/2018 12:15 PM, Mauro Carvalho Chehab wrote:
> > Hi Hans,
> >
> > Em Sun, 4 Feb 2018 14:06:42 +0100
> > Hans Verkuil <hverk...@xs4all.nl> escreveu:
> >
> >
Em Sun, 4 Feb 2018 14:53:31 +0100
Hans Verkuil escreveu:
> Userspace has no way of knowing the pad index for the entity that
> owns the pad with the MEDIA_IOC_G_TOPOLOGY ioctl. However, various
> v4l-subdev ioctls need to pass this as an argument.
While I'm OK on adding a
Em Sun, 04 Feb 2018 15:20:55 +0200
Laurent Pinchart escreveu:
> Hi Hans,
>
> On Sunday, 4 February 2018 15:16:26 EET Hans Verkuil wrote:
> > On 02/04/2018 02:13 PM, Laurent Pinchart wrote:
> > > On Sunday, 4 February 2018 15:06:42 EET Hans Verkuil wrote:
>
Hi Hans,
Em Sun, 4 Feb 2018 14:06:42 +0100
Hans Verkuil escreveu:
> Hi Mauro,
>
> I'm working on adding proper compliance tests for the MC but I think something
> is missing in the G_TOPOLOGY ioctl w.r.t. pads.
>
> In several v4l-subdev ioctls you need to pass the pad.
Em Thu, 4 Jan 2018 18:04:12 -0600
Brad Love escreveu:
> Set appropriate bulk/ISOC transfer multiplier on capture start.
> This sets ISOC transfer to 940 bytes (188 * 5)
> This sets bulk transfer to 48128 bytes (188 * 256)
>
> The above values are maximum allowed
Em Fri, 26 Jan 2018 13:43:27 +0100
Hans Verkuil escreveu:
> From: Daniel Mentz
>
> The 32-bit compat v4l2 ioctl is implemented based on its 64-bit
> equivalent. It converts 32-bit data structures into its 64-bit
> equivalents and needs to provide the
Em Mon, 29 Jan 2018 11:47:42 +0200
Sakari Ailus escreveu:
> > + compat_caddr_t p;
> > +
> > if (copy_to_user(>w, >w, sizeof(kp->w)) ||
> > put_user(kp->field, >field) ||
> > put_user(kp->chromakey, >chromakey) ||
> > put_user(kp->clipcount,
Em Sun, 28 Jan 2018 01:18:57 +0200
Sakari Ailus escreveu:
> Hi Hans,
>
...
> > +
> > + if (ops->vidioc_query_ext_ctrl)
> > + ret = ops->vidioc_query_ext_ctrl(file, fh, );
>
> Is there a need for this?
>
> The only driver implementing vidioc_query_ext_ctrl
Em Fri, 26 Jan 2018 17:37:39 -0200
Mauro Carvalho Chehab <mche...@s-opensource.com> escreveu:
> Em Fri, 26 Jan 2018 12:17:37 -0200
> Mauro Carvalho Chehab <mche...@s-opensource.com> escreveu:
>
> > Hi Alan,
> >
> > Em Mon, 8 Jan 2018
From: Mauro Carvalho Chehab <mche...@osg.samsung.com>
Do some cleanup of debug messages, making them cleaner and
easier to be used to analyze what's going on.
Signed-off-by: Mauro Carvalho Chehab <mche...@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mche...@s
From: Mauro Carvalho Chehab <mche...@osg.samsung.com>
When a packet discontinuity happens, it is not just the payload
that was lost. The headers are lost too. So, the max size is not
184 but, instead 188.
Also, while printing warnings, make a distinction between
MPEG-TS indicated discont
Em Fri, 26 Jan 2018 12:17:37 -0200
Mauro Carvalho Chehab <mche...@s-opensource.com> escreveu:
> Hi Alan,
>
> Em Mon, 8 Jan 2018 14:15:35 -0500 (EST)
> Alan Stern <st...@rowland.harvard.edu> escreveu:
>
> > On Mon, 8 Jan 2018, Linus Torvalds wrote:
> >
Hi Alan,
Em Mon, 8 Jan 2018 14:15:35 -0500 (EST)
Alan Stern escreveu:
> On Mon, 8 Jan 2018, Linus Torvalds wrote:
>
> > Can somebody tell which softirq it is that dvb/usb cares about?
>
> I don't know about the DVB part. The USB part is a little difficult to
>
Hi Niklas,
Em Thu, 25 Jan 2018 01:34:30 +0100
Niklas Söderlund escreveu:
> A recent change to the media_entity_to_video_device() macro breaks some
> use-cases for the macro due to a symbol collision. Before the change
> this worked:
>
> vdev =
Mauro Carvalho Chehab <mche...@osg.samsung.com>
---
drivers/media/usb/dvb-usb/cxusb.c | 2 ++
drivers/media/usb/dvb-usb/dib0700_devices.c | 1 +
2 files changed, 3 insertions(+)
diff --git a/drivers/media/usb/dvb-usb/cxusb.c
b/drivers/media/usb/dvb-usb/cxusb.c
index 37dea0adc695..
Em Tue, 23 Jan 2018 14:56:01 +0200
Sakari Ailus <sakari.ai...@iki.fi> escreveu:
> On Tue, Jan 23, 2018 at 10:40:13AM -0200, Mauro Carvalho Chehab wrote:
> > Em Wed, 10 Jan 2018 00:35:18 +0200
> > Sakari Ailus <sakari.ai...@iki.fi> escreveu:
> >
> >
As warned:
drivers/media/i2c/dw9714.c: warning: incorrect type in initializer
(different base types): => 64:19
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
drivers/media/i2c/dw9714.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/
Em Wed, 10 Jan 2018 00:35:18 +0200
Sakari Ailus escreveu:
> Hi Mauro,
>
> Here's compile warning fix for the Intel IPU3 CIO2 driver from Arnd.
>
> Please pull.
>
>
> The following changes since commit e3ee691dbf24096ea51b3200946b11d68ce75361:
>
> media: ov5640: add
Em Sat, 13 Jan 2018 07:09:20 -0200
Mauro Carvalho Chehab <mche...@s-opensource.com> escreveu:
> Em Fri, 12 Jan 2018 13:48:46 -0800
> Eric Dumazet <eric.duma...@gmail.com> escreveu:
>
> > On Fri, 2018-01-12 at 19:13 -0200, Mauro Carvalho Chehab wrote:
> > >
Em Fri, 12 Jan 2018 13:48:46 -0800
Eric Dumazet <eric.duma...@gmail.com> escreveu:
> On Fri, 2018-01-12 at 19:13 -0200, Mauro Carvalho Chehab wrote:
> >
> >
> > The .config file used to build the Kernel is at:
> > https://pastebin.com/wpZghann
> >
&g
Em Tue, 9 Jan 2018 09:48:47 -0800
Linus Torvalds escreveu:
> On Tue, Jan 9, 2018 at 9:27 AM, Eric Dumazet wrote:
> >
> > So yes, commit 4cd13c21b207 ("softirq: Let ksoftirqd do its job") has
> > shown up multiple times in various 'regressions'
Before this patch, when compiled for arm32, the signal strength
were reported as:
Lock (0x1f) Signal= 4294908.66dBm C/N= 12.79dB
Because of a 32 bit integer overflow. After it, it is properly
reported as:
Lock (0x1f) Signal= -58.64dBm C/N= 12.79dB
Signed-off-by: Mauro Carvalho
Em Mon, 8 Jan 2018 11:51:04 -0800
Linus Torvalds escreveu:
> On Mon, Jan 8, 2018 at 11:15 AM, Alan Stern wrote:
> >
> > Both dwc2_hsotg and ehci-hcd use the tasklets embedded in the
> > giveback_urb_bh member of struct usb_hcd. See
Em Mon, 8 Jan 2018 15:47:21 +0200
Sakari Ailus escreveu:
> Hi folks,
>
> Here are the meeting notes on the IRC meeting that took place 11th and 13th
> last October. The brief summary is below, the full log can be found here:
>
>
Em Mon, 8 Jan 2018 15:26:50 +0100
Hans Verkuil escreveu:
> A quick follow-up:
>
> On 01/08/2018 02:54 PM, Hans Verkuil wrote:
> >> +/*
> >> + * Videobuf operations
> >> + */
> >> +int dvb_vb2_init(struct dvb_vb2_ctx *ctx, const char *name, int
> >> nonblocking)
> >> +{
> >>
ut the '[PATCH v3] media: videobuf2-core: don't go
> out
> of the buffer range' patch).
>
> On 12/21/2017 05:18 PM, Mauro Carvalho Chehab wrote:
> > From: Satendra Singh Thakur <satendr...@samsung.com>
> >
> > Adds a new uAPI for DVB to use streaming I/O which i
Em Mon, 8 Jan 2018 12:34:15 +0100
Hans Verkuil <hverk...@xs4all.nl> escreveu:
> Hi Mauro,
>
> On 12/28/2017 03:16 PM, Mauro Carvalho Chehab wrote:
> > Currently, there's no check if an invalid buffer range
> > is passed. However, while testing DVB me
Em Mon, 8 Jan 2018 12:59:10 +0100
Jesper Dangaard Brouer <jbro...@redhat.com> escreveu:
> On Mon, 8 Jan 2018 08:02:00 -0200
> Mauro Carvalho Chehab <mche...@s-opensource.com> wrote:
>
> > Hi Linus,
> >
> > Em Sun, 7 Jan 2018 13:23:39 -0800
> >
Hi Linus,
Em Sun, 7 Jan 2018 13:23:39 -0800
Linus Torvalds <torva...@linux-foundation.org> escreveu:
> On Sat, Jan 6, 2018 at 11:54 AM, Mauro Carvalho Chehab
> <mche...@s-opensource.com> wrote:
> >
> > Em Sat, 6 Jan 2018 16:04:16 +0100
> > "Josef Griebic
Em Sun, 7 Jan 2018 10:41:37 -0500 (EST)
Alan Stern <st...@rowland.harvard.edu> escreveu:
> On Sun, 7 Jan 2018, Mauro Carvalho Chehab wrote:
>
> > > > It seems that the original patch were designed to solve some IRQ issues
> > > > with network cards wit
Em Sat, 6 Jan 2018 16:44:20 -0500 (EST)
Alan Stern <st...@rowland.harvard.edu> escreveu:
> On Sat, 6 Jan 2018, Mauro Carvalho Chehab wrote:
>
> > Hi Josef,
> >
> > Em Sat, 6 Jan 2018 16:04:16 +0100
> > "Josef Griebichler" <gr
/Greg/Eric/David:
Any ideas about how to fix it without causing regressions to
network?
Regards,
Mauro
> Gesendet: Sonntag, 17. Dezember 2017 um 14:27 Uhr
> Von: "Mauro Carvalho Chehab" <mche...@s-opensource.com>
> An: "Sean Young" <s...@mess.org>
> Cc
Even on text and Kconfigs, what we do on media is to use
tabs for indentation.
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
drivers/staging/media/Kconfig | 14 +++---
drivers/staging/media/davinci_vpfe/TODO | 10 +-
2 files changed, 12 inse
Em Thu, 4 Jan 2018 15:08:52 +0200
Sakari Ailus <sakari.ai...@iki.fi> escreveu:
> Hi Mauro,
>
> On Thu, Jan 04, 2018 at 07:27:48AM -0500, Mauro Carvalho Chehab wrote:
> > On several places, whitespaces are being used for indentation,
> > or even at the end of
On several places, whitespaces are being used for indentation,
or even at the end of the line.
Fix them.
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
drivers/media/Kconfig| 8 ++---
drivers/media/dvb-core/Makefile
lt;\t\t>g || s<\t {1,7}\t> <\t\t>g ) {}
}
$_ = "+$_" if ($diffmode);
print OUT $_;
$changed = 1 if ($prev ne $_);
}
close IN;
close OUT;
rename "$file.new", $file;
On several places, whitespaces are being used for indentation,
or even at the end of the line.
Fix them, by running a script that fix it inside drivers/media
and include/media.
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
drivers/media/K
Em Tue, 2 Jan 2018 10:48:54 +0100
Arnd Bergmann escreveu:
> A bugfix introduce a link failure in configurations without CONFIG_MODULES:
>
> In file included from drivers/media/usb/dvb-usb/pctv452e.c:20:0:
> drivers/media/usb/dvb-usb/pctv452e.c: In function
mplementations
> that do not return an error code of < 0 will be left as-is.
>
> drivers/media/platform/omap3isp/isp.c | 4 ++--
Acked-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
Thanks,
Mauro
Em Fri, 29 Dec 2017 14:59:12 +0200
Sakari Ailus escreveu:
> Hi Yong and Mauro,
>
> The two patches are addressing a few matters Mauro pointed out whilst
> handling the CIO2 driver pull request.
>
> Yong: could you review especially the latter patch?
I'm applying
/devel/v4l/patchwork/Documentation/output/dmx.h.rst:6: WARNING: undefined
label: dmx_dqbuf (if the link has no caption the label must precede a section
header)
This is defined together with DMX_QBUF.
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
Documentation
This is currently unused. So, get rid of it.
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
include/media/dvb_vb2.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/media/dvb_vb2.h b/include/media/dvb_vb2.h
index 7a529844c5e1..ef4a802f7435 100644
--- a/i
Instead of using strncpy(), use strlcpy(), in order to
ensure that a \0 char will be added at the end of the
string.
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
drivers/media/dvb-core/dvb_vb2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/d
Document the data structures and functions inside this kAPI header.
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
Documentation/media/kapi/dtv-common.rst | 5 +
include/media/dmxdev.h | 2 +
include/media/dvb_vb2.h
Document the new dvb-vb2 kAPI bits, in order to keep it in sync with
implementation, and shut up two new documentation warnings.
Mauro Carvalho Chehab (4):
media: dvb_vb2: use strlcpy instead of strncpy
media: dvb_vb2: get rid of DVB_BUF_TYPE_OUTPUT
media: dvb kAPI docs: document dvb_vb2.h
Most of the I2C headers got moved a long time ago to
include/media/i2c. Stop including them at the patch.
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
drivers/media/i2c/cx25840/Makefile| 2 --
drivers/media/pci/bt8xx/Makefile | 1 -
drivers
Simplify the pr_foo() macros by adding a pr_fmt() macro.
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
drivers/media/common/videobuf/videobuf2-core.c | 30 ++
1 file changed, 16 insertions(+), 14 deletions(-)
diff --git a/drivers/media/
with debug instrumentation inside the drivers can make easier to
identify where the problem is.
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
drivers/media/common/videobuf/videobuf2-core.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/media/
>memory to zero at vb2_core_queue_init]
Signed-off-by: Satendra Singh Thakur <satendr...@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
drivers/media/common/videobuf/videobuf2-core.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/m
CR2: 888b773c0890
So, add a sanity check in order to prevent going past array.
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
drivers/media/common/videobuf/videobuf2-core.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/media/common/videobuf/videobuf2-core.
happening
when VB2 prints a stack dump.
Mauro Carvalho Chehab (3):
media: vb2: don't go out of the buffer range
media: vb2: add pr_fmt() macro
media: vb2: add a new warning about pending buffers
Sakari Ailus (1):
media: vb2: Enforce VB2_MAX_FRAME in vb2_core_reqbufs better
Satendra Singh
E here.
Also add a warning of the condition.
Signed-off-by: Sakari Ailus <sakari.ai...@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
drivers/media/common/videobuf/videobuf2-core.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
di
This API is still experimental. Make it optional, allowing to
compile the code without it.
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
drivers/media/Kconfig| 12
drivers/media/dvb-core/Makefile | 3 +-
drivers/media/dvb-core/dmxdev.c
CR2: 888b773c0890
So, add a sanity check in order to prevent going past array.
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
drivers/media/common/videobuf/videobuf2-core.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/media/common/videobuf/videobuf2-core.
CR2: 888b773c0890
So, add a sanity check in order to prevent going past array.
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
drivers/media/common/videobuf/videobuf2-core.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/media/common/videobuf/videobu
It is not a good idea to let users to request a very high buffer
size.
So, add an upper limit.
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
drivers/media/dvb-core/dvb_vb2.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/media/dvb-core/dvb_v
Em Thu, 28 Dec 2017 14:19:56 +0200
Sakari Ailus <sakari.ai...@linux.intel.com> escreveu:
> Hi Mauro,
>
> Thanks for the patch.
>
> On Thu, Dec 28, 2017 at 10:02:33AM -0200, Mauro Carvalho Chehab wrote:
> > Currently, there's no check if an invalid buffer range
&g
CR2: 888b773c0890
So, add a sanity check in order to prevent going past array.
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
drivers/media/common/videobuf/videobuf2-core.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/media/common/videobuf/videobu
Detected with Coccinelle.
Signed-off-by: Colin Ian King <colin.k...@canonical.com>
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
> ---
> drivers/media/dvb-frontends/drxd_hard.c| 3 ---
> drivers/media/dvb-frontends/tda18271c2dd.c
Em Thu, 21 Dec 2017 14:18:04 -0200
Mauro Carvalho Chehab <mche...@s-opensource.com> escreveu:
> The streamoff logic is causing those warnings:
>
> WARNING: CPU: 3 PID: 3382 at drivers/media/v4l2-core/videobuf2-core.c:1652
> __vb2_queue_cancel+0x177/0x250 [videobuf2_core]
Em Thu, 21 Dec 2017 14:08:43 -0700
Jonathan Corbet <cor...@lwn.net> escreveu:
> On Mon, 18 Dec 2017 10:30:01 -0200
> Mauro Carvalho Chehab <mche...@s-opensource.com> wrote:
>
> > This is a rebased version of my patch series that add support for
> > nested structs
Em Thu, 21 Dec 2017 16:49:31 -0200
Mauro Carvalho Chehab <mche...@osg.samsung.com> escreveu:
> Em Mon, 11 Dec 2017 16:27:35 -0200
> Gustavo Padovan <gust...@padovan.org> escreveu:
>
> > From: Gustavo Padovan <gustavo.pado...@collabora.com>
> >
> > Hi
901 - 1000 of 11857 matches
Mail list logo