Re: [PATCH 4.4 058/103] [media] ttusb2: limit messages to buffer size

2017-06-02 Thread Ben Hutchings
} else if (read) { > + if (3 + msg[i].len > sizeof(ibuf)) { > + err("i2c rd len=%d too high", msg[i].len); > + break; > + } > + } > + > obuf[0] = (msg[i].addr << 1) | (write_read | read); > if (read) > obuf[1] = 0; > > > -- Ben Hutchings Software Developer, Codethink Ltd.

Re: [PATCH] v4l2-dv-timings.h: fix polarity for 4k formats

2017-10-08 Thread Ben Hutchings
which does have a > negative VSync polarity. > > Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> > Reported-by: Martin Bugge <marbu...@cisco.com> > Signed-off-by: Mauro Carvalho Chehab <mche...@osg.samsung.com> [...] I've belatedly queued this up for 3.16.

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

2017-11-22 Thread Ben Hutchings
f2255usb.bin | Bin 180776 -> 181312 bytes > 1 file changed, 0 insertions(+), 0 deletions(-) [...] Applied, thanks. Ben. -- Ben Hutchings When in doubt, use brute force. - Ken Thompson signature.asc Description: This is a digitally signed message part

[PATCH] Documentation/media: uapi: Explicitly say there are no Invariant Sections

2018-08-03 Thread Ben Hutchings
there are none (as is recommended by the license text). Make it explicit that there are none. References: https://bugs.debian.org/698668 Signed-off-by: Ben Hutchings --- Documentation/media/media_uapi.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation

Re: [PATCH] Documentation/media: uapi: Explicitly say there are no Invariant Sections

2018-09-06 Thread Ben Hutchings
Are you still waiting for agreement from any contributors, or is this ready to apply? Ben. On Fri, 2018-08-03 at 15:41 +0100, Ben Hutchings wrote: > The GNU Free Documentation License allows for a work to specify > Invariant Sections that are not allowed to be modified. (Debian >

Re: [PATCH for v3.16 00/14] v4l2-compat-ioctl32.c: remove set_fs(KERNEL_DS)

2018-02-27 Thread Ben Hutchings
he first patch. Call it a bonus patch :-) Thanks, I've queued up all of these. However, I rebased these on top of some earlier fixes to v4l2-compat-ioctl32.c which you incorporated into your backports. Ben. -- Ben Hutchings If the facts do not conform to your theory, they must be disposed of. signature.asc Description: This is a digitally signed message part

Re: [PATCH for v3.2 00/12] v4l2-compat-ioctl32.c: remove set_fs(KERNEL_DS)

2018-02-27 Thread Ben Hutchings
> errors > > drivers/media/video/Makefile | 7 +- > drivers/media/video/v4l2-compat-ioctl32.c | 966 > ++++++ > drivers/media/video/v4l2-ioctl.c | 6 +- > 3 files changed, 597 insertions(+), 382 deletions(-) > -- Ben

Re: [PATCH v3.16 0/2] V4L2 event subscription fixes

2018-11-09 Thread Ben Hutchings
2 ++ > include/media/v4l2-fh.h | 1 + > 3 files changed, 38 insertions(+), 28 deletions(-) > -- Ben Hutchings Knowledge is power. France is bacon. signature.asc Description: This is a digitally signed message part

<    1   2