Re: [PATCH] Revert "media: staging/imx: Allow driver to build if COMPILE_TEST is enabled"

2019-06-05 Thread Randy Dunlap
rivers/staging/media/imx/imx-ic-common.o: in function > `imx_media_ic_register': > imx-ic-common.c:(.text+0xec): undefined reference to `ipu_get_num' > > All these definitions come from the imx ipu3 core driver, so make > sure that imx media depends on IMX_IPUV3_CORE. > > This rev

[PATCH -next] media: seco-cec: add missing header file to fix build

2018-11-30 Thread Randy Dunlap
From: Randy Dunlap Fix build errors due to missing header file. The header file is inserted first because module-related errors begin showing up in (when CONFIG_ACPI is not set). Sample of build errors: In file included from ../include/linux/acpi.h:27:0, from ../drivers

Re: [Ksummit-discuss] [RFC PATCH 2/3] MAINTAINERS, Handbook: Subsystem Profile

2018-11-16 Thread Randy Dunlap
On 11/15/18 7:44 AM, Mauro Carvalho Chehab wrote: > > Anyway, RFC patch follows. > > - > > [PATCH] [RFC] Add a system profile description for media subsystem > > This RFC aligns with current Dan's proposal for having subsystem > specific ruleset stored at the Kernel tree. > > On this initial R

Re: [PATCH 1/9] mm: Introduce new vm_insert_range API

2018-11-16 Thread Randy Dunlap
On 11/16/18 12:15 AM, Souptick Joarder wrote: > On Fri, Nov 16, 2018 at 12:11 PM Matthew Wilcox wrote: >> >> On Fri, Nov 16, 2018 at 11:00:30AM +0530, Souptick Joarder wrote: >>> On Thu, Nov 15, 2018 at 11:44 PM Randy Dunlap wrote: >>>> On 11/15/18 7:45 AM,

Re: [PATCH 1/9] mm: Introduce new vm_insert_range API

2018-11-15 Thread Randy Dunlap
On 11/15/18 7:45 AM, Souptick Joarder wrote: > Previouly drivers have their own way of mapping range of > kernel pages/memory into user vma and this was done by > invoking vm_insert_page() within a loop. > > As this pattern is common across different drivers, it can > be generalized by creating a

Re: linux-next: Tree for Nov 2 (compiler-gcc.h)

2018-11-03 Thread Randy Dunlap
On 11/3/18 3:58 PM, Miguel Ojeda wrote: > On Sat, Nov 3, 2018 at 5:10 PM Randy Dunlap wrote: >> >> No plugins are enabled. >> The failing randconfig file (for x86_64) is attached. > > Confirmed with a built-from-sources 4.8.5 on current master > (d2ff0ff2c23f). T

Re: [PATCH] media: imx-pxp: fix compilation on i386 or x86_64

2018-09-14 Thread Randy Dunlap
IRQF_ONESHOT, dev_name(&pdev->dev), dev); > > Fixes: 51abcf7fdb70 ("media: imx-pxp: add i.MX Pixel Pipeline driver") > Reported-by: Randy Dunlap > Signed-off-by: Philipp Zabel Thanks. You can choose/add: Acked-by: Randy Dunlap Build-tested-by: Randy Dunlap &g

Re: [PATCH v1 1/4] media: rc: introduce BPF_PROG_IR_DECODER

2018-05-14 Thread Randy Dunlap
On 05/14/2018 02:10 PM, Sean Young wrote: > Add support for BPF_PROG_IR_DECODER. This type of BPF program can call Kconfig file below uses IR_BPF_DECODER instead of the symbol name above. and then patch 3 says a third choice: The context provided to a BPF_PROG_RAWIR_DECODER is a struct ir_raw_eve

Re: [PATCH] media: include/video/omapfb_dss.h: use IS_ENABLED()

2018-05-08 Thread Randy Dunlap
On 05/08/2018 03:56 PM, Randy Dunlap wrote: > On 05/05/2018 02:14 PM, Mauro Carvalho Chehab wrote: >> Em Sat, 5 May 2018 10:59:23 -0700 >> Randy Dunlap escreveu: >> >>> On 05/04/2018 01:49 PM, Mauro Carvalho Chehab wrote: >>>> Just checking for ifdefs cau

Re: [PATCH] media: include/video/omapfb_dss.h: use IS_ENABLED()

2018-05-08 Thread Randy Dunlap
On 05/05/2018 02:14 PM, Mauro Carvalho Chehab wrote: > Em Sat, 5 May 2018 10:59:23 -0700 > Randy Dunlap escreveu: > >> On 05/04/2018 01:49 PM, Mauro Carvalho Chehab wrote: >>> Just checking for ifdefs cause build issues as reported by >>> kernel test: >

Re: [PATCH v3 13/14] media: imx7.rst: add documentation for i.MX7 media driver

2018-05-08 Thread Randy Dunlap
Hi, I have a few editing suggestions below... On 05/07/2018 09:21 AM, Rui Miguel Silva wrote: > Add rst document to describe the i.MX7 media driver and also a working example > from the Warp7 board usage with a OV2680 sensor. > > Signed-off-by: Rui Miguel Silva > --- > Documentation/media/v4l-

Re: [PATCH] media: include/video/omapfb_dss.h: use IS_ENABLED()

2018-05-05 Thread Randy Dunlap
ot find the kernel config file nor the kernel test robot's email of this report. Please include an lkml.kernel.org/r/ reference to such emails so that interested parties can join the party. Does this patch apply only to your media tree? so hopefully I can see it in linux-next on Monday. Thanks

Re: linux-next: Tree for Apr 20 (media/platform/marvell-ccic/)

2018-04-20 Thread Randy Dunlap
ing for the current merge release). > > Stats about the size of the tree over time can be seen at > http://neuling.org/linux-next-size.html . > > Status of my local build tests will be at > http://kisskb.ellerman.id.au/linux-next . If maintainers want to give > advice about cross

Re: [RFCv3 15/17] v4l2: document the request API interface

2018-04-14 Thread Randy Dunlap
Hi, A few comments below... On 02/06/2018 05:48 PM, Alexandre Courbot wrote: > Document how the request API can be used along with the existing V4L2 > interface. > > Signed-off-by: Alexandre Courbot > --- > Documentation/media/uapi/v4l/buffer.rst| 10 +- > Documentation/media/uapi

Re: [PATCH v8 1/7] v4l2-dv-timings: add v4l2_hdmi_colorimetry()

2018-02-06 Thread Randy Dunlap
On 02/06/2018 12:27 PM, Tim Harvey wrote: > From: Hans Verkuil > > Add the v4l2_hdmi_colorimetry() function so we have a single function > that determines the colorspace, YCbCr encoding, quantization range and > transfer function from the InfoFrame data. > > Signed-off-by: Hans Verkuil > Signed

Re: [RFCv2 05/17] media: Document the media request API

2018-02-01 Thread Randy Dunlap
On 01/31/2018 02:24 AM, Alexandre Courbot wrote: > From: Laurent Pinchart > > The media request API is made of a new ioctl to implement request > management. Document it. > > Signed-off-by: Laurent Pinchart > [acour...@chromium.org: adapt for newest API] > Signed-off-by: Alexandre Courbot > --

Re: [PATCH v7 2/2] media: V3s: Add support for Allwinner CSI.

2018-01-29 Thread Randy Dunlap
On 01/29/2018 01:21 AM, Yong Deng wrote: > Allwinner V3s SoC features two CSI module. CSI0 is used for MIPI CSI-2 > interface and CSI1 is used for parallel interface. This is not > documented in datasheet but by test and guess. > > This patch implement a v4l2 framework driver for it. > > Currentl

Re: [RFC PATCH 6/8] v4l2: document the request API interface

2018-01-26 Thread Randy Dunlap
On 01/25/2018 10:02 PM, Alexandre Courbot wrote: > Document how the request API can be used along with the existing V4L2 > interface. > > +Request API > +=== > + > +The Request API has been designed to allow V4L2 to deal with requirements of > +modern IPs (stateless codecs, MIPI cameras,

Re: [PATCH v6 0/9] Renesas Capture Engine Unit (CEU) V4L2 driver

2018-01-21 Thread Randy Dunlap
On 01/21/2018 09:54 AM, jacopo mondi wrote: > Hi Randy, >thanks for noticing, > > On Fri, Jan 19, 2018 at 02:12:19PM -0800, Randy Dunlap wrote: >> On 01/16/2018 01:44 PM, Jacopo Mondi wrote: >>> Hello, >>>new version of CEU after Hans' review. &

Re: [PATCH v5 1/2] dt-bindings: media: Add Allwinner V3s Camera Sensor Interface (CSI)

2018-01-19 Thread Randy Dunlap
On 01/19/2018 01:17 PM, Icenowy Zheng wrote: > 在 2018年1月20日星期六 CST 上午5:14:09,Rob Herring 写道: >> On Thu, Jan 11, 2018 at 11:03:43AM +0800, Yong Deng wrote: >>> Add binding documentation for Allwinner V3s CSI. >>> >>> Signed-off-by: Yong Deng >>> --- >>> >>> .../devicetree/bindings/media/sun6i-csi.

Re: [PATCH v6 0/9] Renesas Capture Engine Unit (CEU) V4L2 driver

2018-01-19 Thread Randy Dunlap
n set/try_fmt. I would expect that you have already seen this, but I get a build error in renesas-ceu.c. Here is a small patch for it. --- From: Randy Dunlap Fix build error (on x86 with COMPILE_TEST): ../drivers/media/platform/renesas-ceu.c: In function 'ceu_parse_dt': ../drivers/med

Re: [RFT PATCH v3 0/6] Asynchronous UVC

2018-01-17 Thread Randy Dunlap
Product: USB 2.0 Camera usb 1-1.3: Manufacturer: Sonix Technology Co., Ltd. usb 1-1.3: SerialNumber: SN0001 uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:62c0) BTW, qv4l2 was very useful for this. Thanks, Hans. Tested-by: Randy Dunlap -- ~Randy

Re: [PATCH v2] kernel-doc: parse DECLARE_KFIFO and DECLARE_KFIFO_PTR()

2017-12-08 Thread Randy Dunlap
> So, teach kernel-doc how to parse DECLARE_KFIFO() and DECLARE_KFIFO_PTR(). > > While here, relax at the past DECLARE_foo() macros, accepting a random > number of spaces after comma. > > The addition of DECLARE_KFIFO() was > Suggested-by: Randy Dunlap > > Signed-off-by: Mau

Re: [PATCH] kernel-doc: parse DECLARE_KFIFO_PTR()

2017-12-03 Thread Randy Dunlap
On 11/30/2017 05:42 AM, Mauro Carvalho Chehab wrote: > On media, we now have an struct declared with: > [snip] > > So, teach kernel-doc how to parse a DECLARE_KFIFO_PTR(); > > While here, relax at the past DECLARE_foo() macros, > accepting a random number of spaces after comma. > > Signed-off-b

Re: [PATCH] media: mtk-vcodec: add missing MODULE_LICENSE/DESCRIPTION

2017-11-21 Thread Randy Dunlap
On 11/21/17 23:41, kbuild test robot wrote: > Hi Jesse, > > Thank you for the patch! Yet something to improve: missing #include Jesse, did you build all of these driver changes? > [auto build test ERROR on linuxtv-media/master] > [also build test ERROR on v4.14 next-20171121] > [if your patch

[PATCH] media: ddbridge: fix build warnings

2017-11-06 Thread Randy Dunlap
From: Randy Dunlap Fix 2 build warnings. These functions are void, so drop the "return"s. ./drivers/media/pci/ddbridge/ddbridge-io.h: warning: 'return' with a value, in function returning void [enabled by default]: => 50:2, 55:2 Signed-off-by: Randy Dunlap Cc:

Re: [PATCH v7 4/7] media: open.rst: document devnode-centric and mc-centric types

2017-09-27 Thread Randy Dunlap
On 09/27/17 15:23, Mauro Carvalho Chehab wrote: > > Signed-off-by: Mauro Carvalho Chehab > --- > Documentation/media/uapi/v4l/open.rst | 40 > +++ > 1 file changed, 40 insertions(+) > > diff --git a/Documentation/media/uapi/v4l/open.rst > b/Documentation/media/

Re: [PATCH v2 07/13] docs: kernel-doc.rst: add documentation about man pages

2017-09-27 Thread Randy Dunlap
On 09/27/17 14:10, Mauro Carvalho Chehab wrote: > kernel-doc-nano-HOWTO.txt has a chapter about man pages kernel-doc.rst has a chapter (or section) > production. While we don't have a working "make manpages" > target, add it. > > Signed-off-by: Mauro Carvalho Chehab > --- > Documentation/do

Re: [PATCH 07/10] docs: kernel-doc.rst: add documentation about man pages

2017-09-26 Thread Randy Dunlap
On 09/26/17 10:59, Mauro Carvalho Chehab wrote: > kernel-doc-nano-HOWTO.txt has a chapter about man pages > production. While we don't have a working "make manpages" > target, add it. > > Signed-off-by: Mauro Carvalho Chehab > --- > Documentation/doc-guide/kernel-doc.rst | 61 > +++

Re: [PATCH 02/10] docs: kernel-doc.rst: better describe kernel-doc arguments

2017-09-26 Thread Randy Dunlap
On 09/26/17 10:59, Mauro Carvalho Chehab wrote: > Add a new section to describe kernel-doc arguments, > adding examples about how identation should happen, as failing > to do that causes Sphinx to do the wrong thing. > > Signed-off-by: Mauro Carvalho Chehab > --- > Documentation/doc-guide/kernel

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-31 Thread Randy Dunlap
On 08/31/17 10:55, Jani Nikula wrote: > On Thu, 31 Aug 2017, Randy Dunlap wrote: >> On 08/31/17 09:36, Jani Nikula wrote: >>> On Thu, 31 Aug 2017, Jani Nikula wrote: >>>> On Thu, 31 Aug 2017, Randy Dunlap wrote: >>>>> On 08/31/17 07:17, Jonathan Corb

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-31 Thread Randy Dunlap
On 08/31/17 10:34, Randy Dunlap wrote: > On 08/31/17 09:36, Jani Nikula wrote: >> On Thu, 31 Aug 2017, Jani Nikula wrote: >>> On Thu, 31 Aug 2017, Randy Dunlap wrote: >>>> On 08/31/17 07:17, Jonathan Corbet wrote: >>>>> On Thu, 31 Aug 2017 10:5

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-31 Thread Randy Dunlap
On 08/31/17 09:36, Jani Nikula wrote: > On Thu, 31 Aug 2017, Jani Nikula wrote: >> On Thu, 31 Aug 2017, Randy Dunlap wrote: >>> On 08/31/17 07:17, Jonathan Corbet wrote: >>>> On Thu, 31 Aug 2017 10:56:26 -0300 >>>> Mauro Carvalho Chehab wrote: >

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-31 Thread Randy Dunlap
On 08/31/17 09:05, Jani Nikula wrote: > On Thu, 31 Aug 2017, Randy Dunlap wrote: >> On 08/31/17 07:17, Jonathan Corbet wrote: >>> On Thu, 31 Aug 2017 10:56:26 -0300 >>> Mauro Carvalho Chehab wrote: >>> >>>> It should have something to do with pytho

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-31 Thread Randy Dunlap
On 08/31/17 02:49, Mauro Carvalho Chehab wrote: > Em Wed, 30 Aug 2017 15:02:59 -0700 > Randy Dunlap escreveu: > >> On 08/30/17 14:23, Jonathan Corbet wrote: >>> On Mon, 28 Aug 2017 16:10:09 -0700 >>> Randy Dunlap wrote: >>> >>>> kernel-do

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-31 Thread Randy Dunlap
On 08/31/17 07:17, Jonathan Corbet wrote: > On Thu, 31 Aug 2017 10:56:26 -0300 > Mauro Carvalho Chehab wrote: > >> It should have something to do with python version and/or to some >> locale info at the system, as neither I or Jon can reproduce it. > > I can't reproduce it here, but I have certa

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-30 Thread Randy Dunlap
On 08/30/17 16:04, Randy Dunlap wrote: > On 08/30/17 16:01, Randy Dunlap wrote: >> On 08/30/17 15:31, Jonathan Corbet wrote: >>> On Wed, 30 Aug 2017 19:15:53 -0300 >>> Mauro Carvalho Chehab wrote: >>> >>>> I suspect that the problem is not related

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-30 Thread Randy Dunlap
On 08/30/17 16:01, Randy Dunlap wrote: > On 08/30/17 15:31, Jonathan Corbet wrote: >> On Wed, 30 Aug 2017 19:15:53 -0300 >> Mauro Carvalho Chehab wrote: >> >>> I suspect that the problem is not related to the version, but to >>> what you might have set on

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-30 Thread Randy Dunlap
On 08/30/17 15:31, Jonathan Corbet wrote: > On Wed, 30 Aug 2017 19:15:53 -0300 > Mauro Carvalho Chehab wrote: > >> I suspect that the problem is not related to the version, but to >> what you might have set on LANG. >> >> Maybe if we add something like: >> LANG=C.utf-8 >> >> to the Documenta

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-30 Thread Randy Dunlap
On 08/30/17 14:23, Jonathan Corbet wrote: > On Mon, 28 Aug 2017 16:10:09 -0700 > Randy Dunlap wrote: > >> kernel-doc parsing uses as ASCII codec, so let people know that >> kernel-doc comments should be in ASCII characters only. >> >> WARNING: kernel-doc &#

[PATCH 2/2] media: dvb-core: fix demux.h non-ASCII characters

2017-08-28 Thread Randy Dunlap
From: Randy Dunlap Fix non-ASCII charactes in kernel-doc comment to prevent the kernel-doc build warning below. WARNING: kernel-doc '../scripts/kernel-doc -rst -enable-lineno ../drivers/media/dvb-core/demux.h' processing failed with: 'ascii' codec can't decode b

[PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-28 Thread Randy Dunlap
From: Randy Dunlap kernel-doc parsing uses as ASCII codec, so let people know that kernel-doc comments should be in ASCII characters only. WARNING: kernel-doc '../scripts/kernel-doc -rst -enable-lineno ../drivers/media/dvb-core/demux.h' processing failed with: 'ascii' code

Re: linux-next: Tree for Jul 21 (drivers/media: use of __WARN())

2017-07-21 Thread Randy Dunlap
On 07/20/2017 09:10 PM, Stephen Rothwell wrote: > Hi all, > > Changes since 20170720: > on x86_64: when CONFIG_BUG is not enabled: ../drivers/media/platform/pxa_camera.c:642:3: error: implicit declaration of function ‘__WARN’ [-Werror=implicit-function-declaration] ../drivers/media/platform/so

[PATCH -next] media: ov5670: add depends to fix build errors

2017-07-20 Thread Randy Dunlap
From: Randy Dunlap Fix build errors by adding dependency on VIDEO_V4L2_SUBDEV_API: ../drivers/media/i2c/ov5670.c: In function 'ov5670_open': ../drivers/media/i2c/ov5670.c:1917:5: error: implicit declaration of function 'v4l2_subdev_get_try_format' [-Werror=implicit-

Re: linux-next: Tree for Jun 8 (drivers/media/i2c/adv7604.c)

2017-06-08 Thread Randy Dunlap
On 06/08/17 00:50, Stephen Rothwell wrote: > Hi all, > > Changes since 20170607: > on x86_64: (randconfig) CONFIG_VIDEO_ADV7604=y # CONFIG_VIDEO_ADV7604_CEC is not set CONFIG_COMPILE_TEST=y drivers/built-in.o: In function `adv76xx_unregistered': adv7604.c:(.text+0x43ad91): undefined reference

[PATCH -next] media/platform/mtk-jpeg: add slab.h to fix build errors

2017-03-06 Thread Randy Dunlap
From: Randy Dunlap Include to fix these build errors: ../drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c: In function 'mtk_jpeg_open': ../drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c:1017:2: error: implicit declaration of function 'kzalloc' [-Werror=implicit-functio

[PATCH] media: fix dm1105.c build error

2017-01-07 Thread Randy Dunlap
From: Randy Dunlap Fix dm1105 build error when CONFIG_I2C_ALGOBIT=m and CONFIG_DVB_DM1105=y. drivers/built-in.o: In function `dm1105_probe': dm1105.c:(.text+0x2836e7): undefined reference to `i2c_bit_add_bus' Signed-off-by: Randy Dunlap Reported-by: kbuild test robot Cc: Javie

[PATCH] media: usb: dvb-usb: fix DIBUSB_MB usage of dib3000mc functions

2016-08-28 Thread Randy Dunlap
From: Randy Dunlap The problem is that this driver uses a "common" driver supplement which calls a few dib3000mc*() functions but that driver is not "select"ed by DVB_USB_DIBUSB_MB. We can fix the build errors by selecting DVB_DIB3000MC (at the expense of around 8 KB on x86_6

[PATCH] dma-buf: fix kernel-doc warning and typos

2016-08-16 Thread Randy Dunlap
From: Randy Dunlap Fix dma-buf kernel-doc warning and 2 minor typos in fence_array_create(). Fixes this warning: ..//drivers/dma-buf/fence-array.c:124: warning: No description found for parameter 'signal_on_any' Signed-off-by: Randy Dunlap Cc: Sumit Semwal Cc: l

Re: [PATCH 0947/1285] Replace numeric parameter like 0444 with macro

2016-08-02 Thread Randy Dunlap
On 08/02/16 05:51, Mauro Carvalho Chehab wrote: > Em Tue, 2 Aug 2016 20:01:34 +0800 > Baole Ni escreveu: > >> I find that the developers often just specified the numeric value >> when calling a macro which is defined with a parameter for access permission. >> As we know, these numeric value for

Re: Failed to build on 4.2.6

2015-12-07 Thread Randy Dunlap
On 12/07/15 07:25, Steven Rostedt wrote: > Hi, > > The attached config doesn't build on 4.2.6, but changing it to the > following: > > VIDEO_V4L2_SUBDEV_API n -> y > +V4L2_FLASH_LED_CLASS n > > does build. > > Sorry, I lost the build error (currently building now with a good > config), But it'

Re: ERROR: "vb2_ops_wait_finish" [drivers/input/touchscreen/sur40.ko] undefined!

2015-10-17 Thread Randy Dunlap
On 10/17/15 17:38, kbuild test robot wrote: > Hi Florian, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 81429a6dbcbf3a01830de42dbdf0d9acbe68e1c1 > commit: e831cd251fb91d6c25352d322743db0d17ea11dd [media

Re: [PATCH, newbie, HELP] lirc devices: Missing uapi header lirc.h

2015-09-08 Thread Randy Dunlap
[adding linux-media + Alan Cox] On 09/08/15 03:51, Alec Leamas wrote: > Hi, > > I have filed a bug + a patch at [1]. This is my first contact with the kernel > community, and I probably make it the wrong way. That said, after a first > acknowledge in the tracker that this indeed a bug, I've go

Re: linux-next: Tree for Aug 24 (media/i2c/tc358743.c)

2015-08-24 Thread Randy Dunlap
On 08/24/15 04:52, Stephen Rothwell wrote: > Hi all, > > Changes since 20150821: > on x86_64: drivers/built-in.o: In function `print_avi_infoframe': tc358743.c:(.text.unlikely+0x7849): undefined reference to `hdmi_infoframe_unpack' tc358743.c:(.text.unlikely+0x787e): undefined reference to `h

Re: linux-next: Tree for Aug 18 (drivers/media/i2c/tc358743.c)

2015-08-18 Thread Randy Dunlap
On 08/18/15 04:40, Stephen Rothwell wrote: > Hi all, > > Changes since 20150817: > on i386: when CONFIG_MEDIA_CONTROLLER is not enabled: ../drivers/media/i2c/tc358743.c: In function 'tc358743_probe': ../drivers/media/i2c/tc358743.c:1890:29: error: 'struct v4l2_subdev' has no member named 'ent

Re: randconfig build error with next-20150620, in drivers/media/v4l2-core/videobuf2-core.c

2015-07-01 Thread Randy Dunlap
On 06/20/15 09:44, Jim Davis wrote: > Building with the attached random configuration file, > > drivers/media/v4l2-core/videobuf2-core.c: In function > ‘vb2_warn_zero_bytesused’: > drivers/media/v4l2-core/videobuf2-core.c:1253:2: error: implicit declaration > of > function ‘__WARN’ [-Werror=impl

[PATCH -next] media/pci/cobalt: fix Kconfig and build when SND is not enabled

2015-06-26 Thread Randy Dunlap
From: Randy Dunlap Fix build errors in cobalt driver when CONFIG_SND is not enabled. Fixes these build errors: ERROR: "snd_pcm_period_elapsed" [drivers/media/pci/cobalt/cobalt.ko] undefined! ERROR: "_snd_pcm_stream_lock_irqsave" [drivers/media/pci/cobalt/cobalt.k

[PATCH -next] media/dvb: fix ts2020.c Kconfig and build

2015-06-26 Thread Randy Dunlap
From: Randy Dunlap Fix kconfig warning that is caused by DVB_TS2020: warning: (DVB_TS2020 && SND_SOC_ADAU1761_I2C && SND_SOC_ADAU1781_I2C && SND_SOC_ADAU1977_I2C && SND_SOC_RT5677 && EXTCON_MAX14577 && EXTCON_MAX77693 && EXTCON_MAX77843

Re: linux-next: Tree for May 29 (media/i2c/ov2659)

2015-05-29 Thread Randy Dunlap
On 05/29/15 05:18, Stephen Rothwell wrote: > Hi all, > > Changes since 20150528: > on x86_64: ../drivers/media/i2c/ov2659.c: In function 'ov2659_get_fmt': ../drivers/media/i2c/ov2659.c:1054:3: error: implicit declaration of function 'v4l2_subdev_get_try_format' [-Werror=implicit-function-decla

[PATCH] media: fix gspca drivers build dependencies

2015-02-23 Thread Randy Dunlap
From: Randy Dunlap Several (15) drivers in media/usb/gspca use IF_ENABLED(CONFIG_INPUT) to decide if they should call input* interfaces, but those drivers do not build successfully when CONFIG_INPUT=m and the gspca drivers are builtin (=y). Making USB_GSPCA depend on INPUT || INPUT=n fixes the

Re: linux-next: Tree for Jan 8 (media, v4l2, vb2)

2015-01-08 Thread Randy Dunlap
On 01/07/15 21:13, Stephen Rothwell wrote: > Hi all, > > Changes since 20150107: > > *crickets* > > Non-merge commits (relative to Linus' tree): 1616 > 1841 files changed, 45068 insertions(+), 27290 deletions(-) > on x86_64: CONFIG_VIDEO_V4L2=m CONFIG_VIDEOBUF2_CORE=y CONFIG_VIDEOBUF2_MEMOPS

Re: mmotm 2014-11-12-16-34 uploaded (media: v4l2)

2014-11-13 Thread Randy Dunlap
On 11/12/14 16:36, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2014-11-12-16-34 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > http://www.ozlabs.org/~akpm/mmotm/ > on i386: drivers/built-in.o:

Re: linux-next: Tree for Oct 22 (media/usb/dvb-usb/az6027)

2014-10-22 Thread Randy Dunlap
On 10/21/14 20:42, Stephen Rothwell wrote: > Hi all, > > Changes since 20141021: > on x86_64: when MEDIA_SUBDRV_AUTOSELECT is not enabled: when DVB_USB_AZ6027=y and DVB_STB0899=m and DVB_STB6100=m: drivers/built-in.o: In function `az6027_frontend_attach': az6027.c:(.text+0x18c50d): undefined

Re: [PATCH] DocBook: fix media build error

2014-10-20 Thread Randy Dunlap
On 10/20/14 09:06, Vincent Palatin wrote: > On Sun, Oct 19, 2014 at 7:39 PM, Randy Dunlap wrote: >> From: Randy Dunlap >> >> Fix media DocBook build errors by making the orderedlist balanced. >> >> DOC1/Documentation/DocBook/compat.xml:2576: parser error : Op

[PATCH] DocBook: fix media build error

2014-10-19 Thread Randy Dunlap
From: Randy Dunlap Fix media DocBook build errors by making the orderedlist balanced. DOC1/Documentation/DocBook/compat.xml:2576: parser error : Opening and ending tag mismatch: orderedlist line 2560 and section DOC1/Documentation/DocBook/compat.xml:2726: parser error : Premature end of data

DocBook error in v4l compat.xml (3.18-rc1)

2014-10-19 Thread Randy Dunlap
In Linux 3.18-rc1, building DocBooks gives this error: lnx-318-rc1/DOC1/Documentation/DocBook/compat.xml:2576: parser error : Opening and ending tag mismatch: orderedlist line 2560 and section It looks like the section on V4L2 in Linux 3.18 added unmatched without and ending ... or that secti

Re: linux-next: Tree for Oct 8 (media/usb/gspca)

2014-10-08 Thread Randy Dunlap
On 10/08/14 11:31, Mauro Carvalho Chehab wrote: > Em Wed, 08 Oct 2014 10:13:39 -0700 > Randy Dunlap escreveu: > >> On 10/07/14 23:49, Stephen Rothwell wrote: >>> Hi all, >>> >>> Please do not add any material intended for v3.19 to you linux-next >>

Re: linux-next: Tree for Oct 8 (media/usb/gspca)

2014-10-08 Thread Randy Dunlap
On 10/07/14 23:49, Stephen Rothwell wrote: > Hi all, > > Please do not add any material intended for v3.19 to you linux-next > included trees until after v3.18-rc1 has been released. > > Changes since 20141007: > I saw these build errors in gspca when CONFIG_INPUT=m but the gspca sub-drivers ar

[PATCH -next] media: tw68: fix build errors and warnings

2014-10-06 Thread Randy Dunlap
From: Randy Dunlap Fix build errors and kconfig warning: since 'select' does not check Kconfig symbol dependencies, add that dependency explicitly. VIDEO_TW68 selects I2C_ALGOBIT, so it should depend on I2C to prevent build errors and warnings. warning: (CAN_PEAK_PCIEC &am

Re: randconfig build error with next-20141001, in drivers/i2c/algos/i2c-algo-bit.c

2014-10-01 Thread Randy Dunlap
On 10/01/14 14:37, Jim Davis wrote: > Building with the attached random configuration file, Also: warning: (CAN_PEAK_PCIEC && SFC && IGB && VIDEO_TW68 && DRM && FB_DDC && FB_VIA) selects I2C_ALGOBIT which has unmet direct dependencies (I2C) > drivers/i2c/algos/i2c-algo-bit.c: In function ‘i2c_bi

Re: linux-next: Tree for Sep 26 (media/pci/pt3)

2014-09-26 Thread Randy Dunlap
On 09/26/14 04:10, Stephen Rothwell wrote: > Hi all, > > There will be no linux-next release on Monday. > > This has not been a good day :-( > > Changes since 20140925: on x86_64: when CONFIG_MODULES is not enabled: ../drivers/media/pci/pt3/pt3.c: In function 'pt3_attach_fe': ../drivers/media

Re: [PATCH] Documentation/video4linux: don't build without CONFIG_VIDEO_V4L2

2014-08-28 Thread Randy Dunlap
eton.ko] undefined! > ... > WARNING: "video_unregister_device" > [Documentation//video4linux/v4l2-pci-skeleton.ko] undefined! > > Fixes: 8db5ab4b50fb ("Documentation: add makefiles for more targets") > > Cc: Peter Foley > Cc: Mauro Carvalho Chehab > Cc: Randy Dunl

[PATCH -next] media/radio: fix radio-miropcm20.c build with io.h header file

2014-08-28 Thread Randy Dunlap
From: Randy Dunlap Fix build errors in radio-miropcm20.c due to missing header file: drivers/media/radio/radio-miropcm20.c: In function 'rds_waitread': drivers/media/radio/radio-miropcm20.c:90:3: error: implicit declaration of function 'inb' [-Werror=implicit-function-

Re: randconfig build error with next-20140826, in Documentation/video4linux

2014-08-27 Thread Randy Dunlap
On 08/27/14 10:17, Mauro Carvalho Chehab wrote: > Em Wed, 27 Aug 2014 07:36:05 -0700 > Randy Dunlap escreveu: > >> On 08/27/14 03:58, Sudip Mukherjee wrote: >>> On Tue, Aug 26, 2014 at 09:50:43AM -0700, Jim Davis wrote: >>>> Building with the attached random

Re: randconfig build error with next-20140826, in Documentation/video4linux

2014-08-27 Thread Randy Dunlap
On 08/27/14 03:58, Sudip Mukherjee wrote: > On Tue, Aug 26, 2014 at 09:50:43AM -0700, Jim Davis wrote: >> Building with the attached random configuration file, >> >> ERROR: "vb2_ops_wait_finish" >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined! >> ERROR: "vb2_ops_wait_prepare" >> [Docu

Re: [PATCH] [media] v4l2-pci-skeleton: Only build if PCI is available

2014-08-26 Thread Randy Dunlap
On 08/26/14 12:59, Randy Dunlap wrote: > On 08/26/14 12:26, Mark Brown wrote: >> On Tue, Aug 26, 2014 at 12:20:54PM -0700, Randy Dunlap wrote: >>> On 08/26/14 10:25, Mark Brown wrote: >> >>>> index d58101e788fc..65a351d75c95 100644 >>>> ---

Re: [PATCH] [media] v4l2-pci-skeleton: Only build if PCI is available

2014-08-26 Thread Randy Dunlap
On 08/26/14 12:26, Mark Brown wrote: > On Tue, Aug 26, 2014 at 12:20:54PM -0700, Randy Dunlap wrote: >> On 08/26/14 10:25, Mark Brown wrote: > >>> index d58101e788fc..65a351d75c95 100644 >>> --- a/Documentation/video4linux/Makefile >>> +++ b/Document

Re: [PATCH] [media] v4l2-pci-skeleton: Only build if PCI is available

2014-08-26 Thread Randy Dunlap
On 08/26/14 10:25, Mark Brown wrote: > From: Mark Brown > > Currently arm64 does not support PCI but it does support v4l2. Since the > PCI skeleton driver is built unconditionally as a module with no dependency > on PCI this causes build failures for arm64 allmodconfig. Fix this by > defining a s

Re: [PATCH] [media] v4l2-pci-skeleton: Only build if PCI is available

2014-08-26 Thread Randy Dunlap
On 08/26/14 10:25, Mark Brown wrote: > From: Mark Brown > > Currently arm64 does not support PCI but it does support v4l2. Since the > PCI skeleton driver is built unconditionally as a module with no dependency > on PCI this causes build failures for arm64 allmodconfig. Fix this by > defining a s

Re: [PATCH] Kconfig: do not select SPI bus on sub-driver auto-select

2014-08-22 Thread Randy Dunlap
On 08/22/14 10:04, Jeff Mahoney wrote: > On Fri Aug 22 13:02:09 2014, Antti Palosaari wrote: >> We should not select SPI bus when sub-driver auto-select is >> selected. That option is meant for auto-selecting all possible >> ancillary drivers used for selected board driver. Ancillary >> drivers sho

[PATCH] dma-buf: fix kernel-doc warning

2014-08-16 Thread Randy Dunlap
From: Randy Dunlap Fix kernel-doc warning, missing parameter description: Warning(..//include/linux/seqno-fence.h:99): No description found for parameter 'cond' Signed-off-by: Randy Dunlap Cc: Rob Clark Cc: Maarten Lankhorst --- include/linux/seqno-fence.h |1 + 1 file

[PATCH v2] media: ttpci: fix av7110 build to be compatible with CONFIG_INPUT_EVDEV

2014-08-15 Thread Randy Dunlap
From: Randy Dunlap Fix build when CONFIG_INPUT_EVDEV=m and DVB_AV7110=y. Only build av7110_ir.c when CONFIG_INPUT_EVDEV is compatible with CONFIG_DVB_AV7110. Fixes these build errors: drivers/built-in.o: In function `input_sync': av7110_ir.c:(.text+0x1223ac): undefined referen

Re: [linuxtv-media:devel 498/499] av7110.c:undefined reference to `av7110_ir_exit'

2014-08-15 Thread Randy Dunlap
On 08/15/14 15:03, kbuild test robot wrote: > tree: git://linuxtv.org/media_tree.git devel > head: f1d2fd677f61bf4d649098317497db11a958a021 > commit: 277c0ffaea64c71c39f03b9ee6818de600c38fc3 [498/499] [media] media: > ttpci: build av7110_ir.c only when allowed by CONFIG_INPUT_EVDEV > config: x

[PATCH] media: ttpci: build av7110_ir.c only when allowed by CONFIG_INPUT_EVDEV

2014-08-13 Thread Randy Dunlap
From: Randy Dunlap Fix build when CONFIG_INPUT_EVDEV=m and DVB_AV7110=y. Only build av7110_ir.c when CONFIG_INPUT_EVDEV is compatible with CONFIG_DVB_AV7110. Fixes these build errors: drivers/built-in.o: In function `input_sync': av7110_ir.c:(.text+0x1223ac): undefined referen

Re: randconfig build error with next-20140813, in drivers/media/pci/ttpci/av7110_ir.c

2014-08-13 Thread Randy Dunlap
On 08/13/14 09:23, Jim Davis wrote: > Building with the attached random configuration file, > > LD init/built-in.o > drivers/built-in.o: In function `input_sync': > av7110_ir.c:(.text+0x1223ac): undefined reference to `input_event' > drivers/built-in.o: In function `av7110_emit_key': > av71

Re: linux-next: Tree for Jul 11 (media/pci/ttpci/av7110)

2014-07-11 Thread Randy Dunlap
On 07/11/14 00:18, Stephen Rothwell wrote: > Hi all, > > Changes since 20140710: > on x86_64: CONFIG_DVB_AV7110=y CONFIG_INPUT_EVDEV=m drivers/built-in.o: In function `av7110_emit_keyup': av7110_ir.c:(.text+0x76b608): undefined reference to `input_event' av7110_ir.c:(.text+0x76b61a): undefined

Re: [PATCH] Documentation: Fix DocBook build with relative $(srctree)

2014-06-18 Thread Randy Dunlap
ocumentation/DocBook/media/Makefile, because it tries to > create symlinks from a subdirectory of the object tree to the source > tree. Fix this by using a full path in this case. > > Reported-by: Randy Dunlap > Signed-off-by: Michal Marek Thanks. Acked-by: Randy Dunlap Tested-by: Ran

MANY errors while building media docbooks

2014-06-16 Thread Randy Dunlap
on Linux v3.16-rc1, building docbooks to a separate build directory (mkdir DOC; make O=DOC htmldocs) gives me more than 12,000 lines like this: grep: ./Documentation/DocBook//vidioc-subdev-g-fmt.xml: No such file or directory grep: ./Documentation/DocBook//vidioc-subdev-g-frame-interval.xml: No s

Re: mmotm 2014-03-10-15-35 uploaded (media/pci/ttpci/av7110)

2014-03-11 Thread Randy Dunlap
On 03/10/2014 03:37 PM, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2014-03-10-15-35 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > http://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of m

Re: linux-next: Tree for Feb 14 (media/pci/ttpci/av7110_ir.c)

2014-02-14 Thread Randy Dunlap
On 02/13/2014 09:28 PM, Stephen Rothwell wrote: > Hi all, > > If you see failures in building this tree due to missing declarations of > k..alloc/free, then it may be caused by commit 2bd59d48ebfb ("cgroup: > convert to kernfs"). Please send Tejun Heo a patch > adding an inclusion of linux/slab.

Re: linux-next: Tree for Feb 4 (media/radio/si4713/radio-usb-si4713.c)

2014-02-04 Thread Randy Dunlap
On 02/03/2014 09:07 PM, Stephen Rothwell wrote: > Hi all, > > This tree fails (more than usual) the powerpc allyesconfig build. > > Changes since 20140203: > on i386: # CONFIG_I2C is not set CC [M] drivers/media/radio/si4713/radio-usb-si4713.o drivers/media/radio/si4713/radio-usb-si4713.c:

[PATCH -next] staging/media: fix sn9c102 dependencies

2014-01-07 Thread Randy Dunlap
From: Randy Dunlap Fix numerous build errors when USB is not enabled. Examples: drivers/built-in.o: In function `sn9c102_stop_transfer': sn9c102_core.c:(.text+0xccbd0a): undefined reference to `usb_kill_urb' sn9c102_core.c:(.text+0xccbd15): undefined reference to `usb_free_urb'

[PATCH -next] media/platform/marvell-ccic: fix cafe_ccic build error

2013-10-31 Thread Randy Dunlap
From: Randy Dunlap The cafe_ccic driver (the mcam-core.c part of it) uses dma_sg interfaces so it needs to select VIDEOBUF2_DMA_SG to prevent build errors. drivers/built-in.o: In function `mcam_v4l_open': mcam-core.c:(.text+0x14643e): undefined reference to `vb2_dma_sg_memops' Sig

[stable] Re: Dependency bug in the uvcvideo Kconfig

2013-09-19 Thread Randy Dunlap
On 09/19/13 13:17, Randy Dunlap wrote: > On 09/18/13 20:44, Jeff P. Zacher wrote: >> >> >> You are correct that this problem shown in the forum was in 3.5.4. However, >> I am >> having wither the same or similar problem in 3.10.7. >> Here is the b

Re: Dependency bug in the uvcvideo Kconfig

2013-09-18 Thread Randy Dunlap
.config file as an attachment here since the one posted in the forum does not download (or has been deleted). > On Wed, Sep 18, 2013 at 4:59 PM, Randy Dunlap wrote: >> [adding linux-media mailing list] >> >> >> On 09/18/13 06:18, Jeff P. Zacher wrote: >>> Not

Re: Dependency bug in the uvcvideo Kconfig

2013-09-18 Thread Randy Dunlap
[adding linux-media mailing list] On 09/18/13 06:18, Jeff P. Zacher wrote: > Not subscribed, please CC'me in replies: > > There seems to be a dependency bug in the Kconfig for the uvcvideo kernel > module. If uvcvideo is built in and usb support is built as a module, the > kernel build will f

[PATCH -next] staging/media: fix msi3101 build errors

2013-09-12 Thread Randy Dunlap
From: Randy Dunlap Fix build error when VIDEOBUF2_CORE=m and USB_MSI3101=y. drivers/built-in.o: In function `msi3101_buf_queue': sdr-msi3101.c:(.text+0x1298d6): undefined reference to `vb2_buffer_done' drivers/built-in.o: In function `msi3101_cleanup_queued_bufs': sdr-msi3101.c:

Re: [PATCH] usbtv: fix dependency

2013-07-03 Thread Randy Dunlap
On 06/28/13 10:54, Mauro Carvalho Chehab wrote: > Em Fri, 28 Jun 2013 10:55:15 -0300 > Mauro Carvalho Chehab escreveu: > >>> This patch >>> >>> http://git.linuxtv.org/gliakhovetski/v4l-dvb.git/commitdiff/a92d0222c693db29a5d00eaedcdebf748789c38e >>> >>> has been pushed 3 days ago: >>> >>> https://

Re: mmotm 2013-06-27-16-36 uploaded (v4l2 without I2C)

2013-06-27 Thread Randy Dunlap
On 06/27/13 16:37, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2013-06-27-16-36 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > http://www.ozlabs.org/~akpm/mmotm/ > on x86_64: CONFIG_I2C is not

Re: linux-next: Tree for Jun 27 (v4l2 & usbtv)

2013-06-27 Thread Randy Dunlap
On 06/27/13 02:24, Stephen Rothwell wrote: > Hi all, > > Changes since 20130626: > on i386: CONFIG_VIDEO_USBTV=y CONFIG_I2C=m CONFIG_VIDEO_V4L2=m Looks like VIDEO_USBTV should depend on VIDEO_V4L2. drivers/built-in.o: In function `vb2_fop_mmap': (.text+0x199b4e): undefined reference to `vid

  1   2   3   4   >