tree: git://linuxtv.org/sailus/media_tree.git ipu6 head: 31343acd3c3ab852367e3f986d12b5e743d5c5c5 commit: 736ca9b346fc52b187fc620f36b20ec7dc9870d1 [59/63] media: add Kconfig and Makefile for IPU6 config: x86_64-randconfig-123-20240217 (https://download.01.org/0day-ci/archive/20240217/202402172115.mTvvIxnQ-lkp@xxxxxxxxx/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240217/202402172115.mTvvIxnQ-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <yujie.liu@xxxxxxxxx> | Closes: https://lore.kernel.org/r/202402172115.mTvvIxnQ-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): drivers/media/pci/intel/ipu6/ipu6-bus.c: In function 'ipu6_bus_initialize_device': >> drivers/media/pci/intel/ipu6/ipu6-bus.c:109:13: error: 'struct device' has no member named 'dma_ops' 109 | auxdev->dev.dma_ops = &ipu6_dma_ops; | ^ Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for VIDEO_V4L2_SUBDEV_API Depends on [n]: MEDIA_SUPPORT [=y] && VIDEO_DEV [=n] && MEDIA_CONTROLLER [=y] Selected by [y]: - VIDEO_INTEL_IPU6 [=y] && PCI [=y] && (ACPI [=y] || COMPILE_TEST [=n]) && MEDIA_SUPPORT [=y] && MEDIA_PCI_SUPPORT [=y] && X86 [=y] && X86_64 [=y] vim +109 drivers/media/pci/intel/ipu6/ipu6-bus.c eaad32dd9543c6 Bingbu Cao 2024-01-31 82 eaad32dd9543c6 Bingbu Cao 2024-01-31 83 struct ipu6_bus_device * eaad32dd9543c6 Bingbu Cao 2024-01-31 84 ipu6_bus_initialize_device(struct pci_dev *pdev, struct device *parent, eaad32dd9543c6 Bingbu Cao 2024-01-31 85 void *pdata, struct ipu6_buttress_ctrl *ctrl, eaad32dd9543c6 Bingbu Cao 2024-01-31 86 char *name) eaad32dd9543c6 Bingbu Cao 2024-01-31 87 { eaad32dd9543c6 Bingbu Cao 2024-01-31 88 struct auxiliary_device *auxdev; eaad32dd9543c6 Bingbu Cao 2024-01-31 89 struct ipu6_bus_device *adev; eaad32dd9543c6 Bingbu Cao 2024-01-31 90 struct ipu6_device *isp = pci_get_drvdata(pdev); eaad32dd9543c6 Bingbu Cao 2024-01-31 91 int ret; eaad32dd9543c6 Bingbu Cao 2024-01-31 92 eaad32dd9543c6 Bingbu Cao 2024-01-31 93 adev = kzalloc(sizeof(*adev), GFP_KERNEL); eaad32dd9543c6 Bingbu Cao 2024-01-31 94 if (!adev) eaad32dd9543c6 Bingbu Cao 2024-01-31 95 return ERR_PTR(-ENOMEM); eaad32dd9543c6 Bingbu Cao 2024-01-31 96 eaad32dd9543c6 Bingbu Cao 2024-01-31 97 adev->dma_mask = DMA_BIT_MASK(isp->secure_mode ? IPU6_MMU_ADDR_BITS : eaad32dd9543c6 Bingbu Cao 2024-01-31 98 IPU6_MMU_ADDR_BITS_NON_SECURE); eaad32dd9543c6 Bingbu Cao 2024-01-31 99 adev->isp = isp; eaad32dd9543c6 Bingbu Cao 2024-01-31 100 adev->ctrl = ctrl; eaad32dd9543c6 Bingbu Cao 2024-01-31 101 adev->pdata = pdata; eaad32dd9543c6 Bingbu Cao 2024-01-31 102 auxdev = &adev->auxdev; eaad32dd9543c6 Bingbu Cao 2024-01-31 103 auxdev->name = name; eaad32dd9543c6 Bingbu Cao 2024-01-31 104 auxdev->id = (pci_domain_nr(pdev->bus) << 16) | eaad32dd9543c6 Bingbu Cao 2024-01-31 105 PCI_DEVID(pdev->bus->number, pdev->devfn); eaad32dd9543c6 Bingbu Cao 2024-01-31 106 eaad32dd9543c6 Bingbu Cao 2024-01-31 107 auxdev->dev.parent = parent; eaad32dd9543c6 Bingbu Cao 2024-01-31 108 auxdev->dev.release = ipu6_bus_release; eaad32dd9543c6 Bingbu Cao 2024-01-31 @109 auxdev->dev.dma_ops = &ipu6_dma_ops; eaad32dd9543c6 Bingbu Cao 2024-01-31 110 auxdev->dev.dma_mask = &adev->dma_mask; eaad32dd9543c6 Bingbu Cao 2024-01-31 111 auxdev->dev.dma_parms = pdev->dev.dma_parms; eaad32dd9543c6 Bingbu Cao 2024-01-31 112 auxdev->dev.coherent_dma_mask = adev->dma_mask; eaad32dd9543c6 Bingbu Cao 2024-01-31 113 eaad32dd9543c6 Bingbu Cao 2024-01-31 114 ret = auxiliary_device_init(auxdev); eaad32dd9543c6 Bingbu Cao 2024-01-31 115 if (ret < 0) { eaad32dd9543c6 Bingbu Cao 2024-01-31 116 dev_err(&isp->pdev->dev, "auxiliary device init failed (%d)\n", eaad32dd9543c6 Bingbu Cao 2024-01-31 117 ret); eaad32dd9543c6 Bingbu Cao 2024-01-31 118 kfree(adev); eaad32dd9543c6 Bingbu Cao 2024-01-31 119 return ERR_PTR(ret); eaad32dd9543c6 Bingbu Cao 2024-01-31 120 } eaad32dd9543c6 Bingbu Cao 2024-01-31 121 eaad32dd9543c6 Bingbu Cao 2024-01-31 122 dev_pm_domain_set(&auxdev->dev, &ipu6_bus_pm_domain); eaad32dd9543c6 Bingbu Cao 2024-01-31 123 eaad32dd9543c6 Bingbu Cao 2024-01-31 124 pm_runtime_forbid(&adev->auxdev.dev); eaad32dd9543c6 Bingbu Cao 2024-01-31 125 pm_runtime_enable(&adev->auxdev.dev); eaad32dd9543c6 Bingbu Cao 2024-01-31 126 eaad32dd9543c6 Bingbu Cao 2024-01-31 127 return adev; eaad32dd9543c6 Bingbu Cao 2024-01-31 128 } eaad32dd9543c6 Bingbu Cao 2024-01-31 129 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki