linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y
@ 2022-05-13 17:30 Lecopzer Chen
  2022-05-16 16:52 ` kernel test robot
  0 siblings, 1 reply; 3+ messages in thread
From: Lecopzer Chen @ 2022-05-13 17:30 UTC (permalink / raw)
  To: mchehab, linux-media, linux-kernel
  Cc: hverkuil, yj.chiang, Lecopzer Chen, Hans Verkuil

A case that CONFIG_MEDIA_SUPPORT is y but we need DVB_CORE=m, and
this doesn't work since DVB_CORE is default MEDIA_DIGITAL_TV_SUPPORT
and then follows MEDIA_SUPPORT.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Lecopzer Chen <lecopzer.chen@mediatek.com>
---
 drivers/media/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index ba6592b3dab2..c64bba94f950 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -182,7 +182,7 @@ config MEDIA_CONTROLLER
 #
 
 config DVB_CORE
-	tristate
+	tristate "DVB Core"
 	depends on MEDIA_DIGITAL_TV_SUPPORT
 	depends on (I2C || I2C=n)
 	default MEDIA_DIGITAL_TV_SUPPORT
-- 
2.18.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y
  2022-05-13 17:30 [PATCH v2] media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y Lecopzer Chen
@ 2022-05-16 16:52 ` kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2022-05-16 16:52 UTC (permalink / raw)
  To: Lecopzer Chen, mchehab, linux-media, linux-kernel
  Cc: kbuild-all, hverkuil, yj.chiang, Lecopzer Chen

Hi Lecopzer,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on media-tree/master]
[also build test ERROR on v5.18-rc7 next-20220516]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/intel-lab-lkp/linux/commits/Lecopzer-Chen/media-Kconfig-Make-DVB_CORE-m-possible-when-MEDIA_SUPPORT-y/20220514-013156
base:   git://linuxtv.org/media_tree.git master
config: arm64-randconfig-c004-20220516 (https://download.01.org/0day-ci/archive/20220517/202205170022.UTCdqnyp-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/intel-lab-lkp/linux/commit/a487d9187c58c094c8886af300300e5ee92b6e05
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Lecopzer-Chen/media-Kconfig-Make-DVB_CORE-m-possible-when-MEDIA_SUPPORT-y/20220514-013156
        git checkout a487d9187c58c094c8886af300300e5ee92b6e05
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>, old ones prefixed by <<):

ERROR: modpost: "dvb_dmx_init" [drivers/media/pci/mantis/mantis_core.ko] undefined!
ERROR: modpost: "dvb_unregister_adapter" [drivers/media/pci/mantis/mantis_core.ko] undefined!
ERROR: modpost: "dvb_register_frontend" [drivers/media/pci/mantis/mantis_core.ko] undefined!
ERROR: modpost: "dvb_ca_en50221_camchange_irq" [drivers/media/pci/mantis/mantis_core.ko] undefined!
ERROR: modpost: "dvb_unregister_frontend" [drivers/media/pci/mantis/mantis_core.ko] undefined!
>> ERROR: modpost: "dvb_ca_en50221_camready_irq" [drivers/media/pci/mantis/mantis_core.ko] undefined!
>> ERROR: modpost: "dvb_frontend_detach" [drivers/media/pci/mantis/mantis_core.ko] undefined!
>> ERROR: modpost: "dvb_dmxdev_release" [drivers/media/pci/mantis/mantis_core.ko] undefined!
>> ERROR: modpost: "dvb_dmx_swfilter" [drivers/media/pci/mantis/mantis_core.ko] undefined!
>> ERROR: modpost: "dvb_ca_en50221_release" [drivers/media/pci/mantis/mantis_core.ko] undefined!
WARNING: modpost: suppressed 5 unresolved symbol warnings because there were too many)

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v2] media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y
@ 2021-11-03  7:57 Lecopzer Chen
  0 siblings, 0 replies; 3+ messages in thread
From: Lecopzer Chen @ 2021-11-03  7:57 UTC (permalink / raw)
  To: linux-media
  Cc: mchehab, yj.chiang, linux-kernel, hverkuil, Lecopzer Chen, Hans Verkuil

A case in Android GKI set MEDIA_SUPPORT to y but we need DVB_CORE=m,
and this doesn't work since DVB_CORE is default MEDIA_DIGITAL_TV_SUPPORT
and then follows MEDIA_SUPPORT.

Change to tristate to make DVB_CORE=m possible when MEDIA_SUPPORT=y

Signed-off-by: Lecopzer Chen <lecopzer.chen@mediatek.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
---
 drivers/media/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index b07812657cee..f2d1d7fdcea1 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -179,7 +179,7 @@ config MEDIA_CONTROLLER
 #
 
 config DVB_CORE
-	tristate
+	tristate "DVB core"
 	depends on MEDIA_DIGITAL_TV_SUPPORT
 	depends on (I2C || I2C=n)
 	default MEDIA_DIGITAL_TV_SUPPORT
-- 
2.18.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-16 16:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-13 17:30 [PATCH v2] media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y Lecopzer Chen
2022-05-16 16:52 ` kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-11-03  7:57 Lecopzer Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).