public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Daniel Scheller <d.scheller.oss@gmail.com>
To: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>,
	Mauro Carvalho Chehab <mchehab@infradead.org>,
	Hans Verkuil <hverkuil@xs4all.nl>,
	Douglas Fischer <fischerdouglasc@gmail.com>,
	jasmin@anw.at
Subject: Re: [PATCH v2 18/19] media: si470x: allow build both USB and I2C at the same time
Date: Wed, 18 Apr 2018 21:06:12 +0200	[thread overview]
Message-ID: <20180418210612.20bb8199@lt530> (raw)
In-Reply-To: <20180418155309.274fe735@vento.lan>

Am Wed, 18 Apr 2018 15:53:09 -0300
schrieb Mauro Carvalho Chehab <mchehab@s-opensource.com>:

> Em Wed, 18 Apr 2018 19:07:40 +0200
> Daniel Scheller <d.scheller.oss@gmail.com> escreveu:
> 
> > Am Fri, 6 Apr 2018 13:46:03 -0300
> > schrieb Mauro Carvalho Chehab <mchehab@s-opensource.com>:
> >   
> > > Em Sat, 7 Apr 2018 00:21:07 +0800
> > > kbuild test robot <lkp@intel.com> escreveu:
> > >     
> > > > Hi Mauro,
> > > > 
> > > > I love your patch! Yet something to improve:
> > > > [...]    
> > > 
> > > Fixed patch enclosed.
> > > 
> > > Thanks,
> > > Mauro
> > > 
> > > [PATCH] media: si470x: allow build both USB and I2C at the same
> > > time
> > > 
> > > Currently, either USB or I2C is built. Change it to allow
> > > having both enabled at the same time.
> > > 
> > > The main reason is that COMPILE_TEST all[yes/mod]builds will
> > > now contain all drivers under drivers/media.
> > > 
> > > Signed-off-by: Mauro Carvalho Chehab
> > > <mchehab@s-opensource.com>    
> > 
> > FWIW, this patch (which seemingly is commit
> > 58757984ca3c73284a45dd53ac66f1414057cd09 in media_tree.git) seems
> > to break media_build in a way that on my systems only 20 drivers
> > and modules are built now, while it should be in the 650+ modules
> > range. Hans' automated daily testbuilds suffer from the same issue,
> > looking at todays daily build logs (Wednesday.tar.bz2). I
> > personally build against Kernel 4.16.2 on Gentoo.
> > 
> > This specific commit/patch was found using
> > 
> >   # git bisect good v4.17-rc1
> >   # git bisect bad media_tree/master
> > 
> > And, "git revert 58767984..." makes all drivers being built again by
> > media_build.
> > 
> > Not sure if there's something other for which this patch acts as the
> > trigger of if this needs adaption in media_build, though I thought
> > reporting this doesn't hurt.
> > 
> > Best regards,
> > Daniel Scheller  
> 
> Please try this:
> 
> diff --git a/drivers/media/radio/si470x/Makefile
> b/drivers/media/radio/si470x/Makefile index
> 563500823e04..682b3146397e 100644 ---
> a/drivers/media/radio/si470x/Makefile +++
> b/drivers/media/radio/si470x/Makefile @@ -2,6 +2,6 @@
>  # Makefile for radios with Silicon Labs Si470x FM Radio Receivers
>  #
>  
> -obj-$(CONFIG_RADIO_SI470X) := radio-si470x-common.o
> +obj-$(CONFIG_RADIO_SI470X) += radio-si470x-common.o
>  obj-$(CONFIG_USB_SI470X) += radio-si470x-usb.o
>  obj-$(CONFIG_I2C_SI470X) += radio-si470x-i2c.o

That (ontop of media_tree.git HEAD) fixes it, back to 656 modules.

Thanks!

Best regards,
Daniel Scheller
-- 
https://github.com/herrnst

  reply	other threads:[~2018-04-18 19:06 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-05 20:29 [PATCH v2 00/19] Make all media drivers build with COMPILE_TEST Mauro Carvalho Chehab
2018-04-05 20:29 ` [PATCH v2 01/19] omap: omap-iommu.h: allow building drivers " Mauro Carvalho Chehab
2018-04-05 20:29 ` [PATCH v2 02/19] media: omap3isp: allow it to build " Mauro Carvalho Chehab
2018-04-06 12:56   ` kbuild test robot
2018-04-07 13:31   ` Laurent Pinchart
2018-04-05 20:29 ` [PATCH v2 03/19] media: omap3isp/isp: remove an unused static var Mauro Carvalho Chehab
2018-04-05 20:29 ` [PATCH v2 04/19] media: fsl-viu: mark static functions as such Mauro Carvalho Chehab
2018-04-05 20:29 ` [PATCH v2 05/19] media: fsl-viu: allow building it with COMPILE_TEST Mauro Carvalho Chehab
2018-04-06 10:43   ` kbuild test robot
2018-04-06 14:03   ` kbuild test robot
2018-04-05 20:29 ` [PATCH v2 06/19] media: cec_gpio: allow building CEC_GPIO " Mauro Carvalho Chehab
2018-04-05 20:29 ` [PATCH v2 07/19] media: exymos4-is: allow compile test for EXYNOS FIMC-LITE Mauro Carvalho Chehab
2018-04-05 20:29 ` [PATCH v2 08/19] media: mmp-camera.h: add missing platform data Mauro Carvalho Chehab
2018-04-05 20:29 ` [PATCH v2 09/19] media: marvel-ccic: re-enable mmp-driver build Mauro Carvalho Chehab
2018-04-06 14:52   ` kbuild test robot
2018-04-05 20:29 ` [PATCH v2 10/19] media: mmp-driver: make two functions static Mauro Carvalho Chehab
2018-04-05 20:29 ` [PATCH v2 11/19] media: davinci: allow building isif code Mauro Carvalho Chehab
2018-04-06 16:17   ` kbuild test robot
2018-04-05 20:29 ` [PATCH v2 12/19] media: davinci: allow build vpbe_display with COMPILE_TEST Mauro Carvalho Chehab
2018-04-06 18:08   ` kbuild test robot
2018-04-05 20:29 ` [PATCH v2 13/19] media: vpbe_venc: don't store return codes if they won't be used Mauro Carvalho Chehab
2018-04-05 20:29 ` [PATCH v2 14/19] media: davinci: get rid of lots of kernel-doc warnings Mauro Carvalho Chehab
2018-04-05 20:29 ` [PATCH v2 15/19] omap2: omapfb: allow building it with COMPILE_TEST Mauro Carvalho Chehab
2018-04-06  8:41   ` Tomi Valkeinen
2018-04-06 11:46   ` kbuild test robot
2018-04-06 19:29   ` kbuild test robot
2018-04-20 15:13   ` Bartlomiej Zolnierkiewicz
2018-04-05 20:29 ` [PATCH v2 16/19] media: omap: " Mauro Carvalho Chehab
2018-04-06 12:11   ` kbuild test robot
2018-04-05 20:29 ` [PATCH v2 17/19] media: omap4iss: make it build " Mauro Carvalho Chehab
2018-04-05 20:59   ` Laurent Pinchart
2018-04-05 20:29 ` [PATCH v2 18/19] media: si470x: allow build both USB and I2C at the same time Mauro Carvalho Chehab
2018-04-06 16:21   ` kbuild test robot
2018-04-06 16:46     ` Mauro Carvalho Chehab
2018-04-18 17:07       ` Daniel Scheller
2018-04-18 18:53         ` Mauro Carvalho Chehab
2018-04-18 19:06           ` Daniel Scheller [this message]
2018-04-18 19:17             ` Mauro Carvalho Chehab
2018-04-05 20:29 ` [PATCH v2 19/19] media: staging: davinci_vpfe: allow building with COMPILE_TEST Mauro Carvalho Chehab
2018-04-06 22:25   ` kbuild test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180418210612.20bb8199@lt530 \
    --to=d.scheller.oss@gmail.com \
    --cc=fischerdouglasc@gmail.com \
    --cc=hverkuil@xs4all.nl \
    --cc=jasmin@anw.at \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=mchehab@s-opensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox