All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android15-6.6-desktop 15249/23047] drivers/media/pci/intel/ipu6/../ipu-bus.c:169:18: error: 'struct device' has no member named 'dma_ops'
@ 2024-10-25 17:10 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-10-25 17:10 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

Hi Tianshu,

FYI, the error/warning still remains.

tree:   https://android.googlesource.com/kernel/common android15-6.6-desktop
head:   8db7166ce5617f362617549c34e49c02491c3167
commit: 60e566f1ebecf5c38e7718cc52e5a482505b6742 [15249/23047] CHROMIUM: media: add Intel IPU6 drivers
config: x86_64-buildonly-randconfig-006-20241025 (https://download.01.org/0day-ci/archive/20241026/202410260113.OiqYbdTm-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241026/202410260113.OiqYbdTm-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410260113.OiqYbdTm-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/media/pci/intel/ipu6/../ipu-bus.c: In function 'ipu_bus_initialize_device':
>> drivers/media/pci/intel/ipu6/../ipu-bus.c:169:18: error: 'struct device' has no member named 'dma_ops'
     169 |         adev->dev.dma_ops = &ipu_dma_ops;
         |                  ^

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for USB_PHY
   Depends on [n]: USB_SUPPORT [=n]
   Selected by [y]:
   - GKI_HIDDEN_USB_CONFIGS [=y]
   WARNING: unmet direct dependencies detected for SND_PCM_IEC958
   Depends on [n]: SOUND [=y] && SND [=n]
   Selected by [y]:
   - GKI_HIDDEN_SND_SOC_CONFIGS [=y]
   WARNING: unmet direct dependencies detected for SND_JACK_INPUT_DEV
   Depends on [n]: SOUND [=y] && SND [=n] && SND_JACK [=y]
   Selected by [y]:
   - GKI_HIDDEN_SND_CONFIGS [=y]
   WARNING: unmet direct dependencies detected for SND_PCM_ELD
   Depends on [n]: SOUND [=y] && SND [=n]
   Selected by [y]:
   - GKI_HIDDEN_SND_CONFIGS [=y]
   WARNING: unmet direct dependencies detected for WEXT_PROC
   Depends on [n]: NET [=n] && WIRELESS [=n] && PROC_FS [=n] && WEXT_CORE [=y]
   Selected by [y]:
   - GKI_LEGACY_WEXT_ALLCONFIG [=y]
   WARNING: unmet direct dependencies detected for PAGE_POOL
   Depends on [n]: NET [=n]
   Selected by [y]:
   - GKI_HIDDEN_NET_CONFIGS [=y]
   WARNING: unmet direct dependencies detected for SND_INTEL_NHLT
   Depends on [n]: SOUND [=y] && SND [=n]
   Selected by [y]:
   - GKI_HIDDEN_SND_CONFIGS [=y] && ACPI [=y]
   WARNING: unmet direct dependencies detected for WEXT_PRIV
   Depends on [n]: NET [=n] && WIRELESS [=n]
   Selected by [y]:
   - GKI_LEGACY_WEXT_ALLCONFIG [=y]
   WARNING: unmet direct dependencies detected for NET_DEVLINK
   Depends on [n]: NET [=n]
   Selected by [y]:
   - GKI_HIDDEN_NET_CONFIGS [=y]
   WARNING: unmet direct dependencies detected for WEXT_SPY
   Depends on [n]: NET [=n] && WIRELESS [=n]
   Selected by [y]:
   - GKI_LEGACY_WEXT_ALLCONFIG [=y]
   WARNING: unmet direct dependencies detected for DRM_MIPI_DSI
   Depends on [n]: HAS_IOMEM [=y] && DRM [=n]
   Selected by [y]:
   - GKI_HIDDEN_DRM_CONFIGS [=y]
   WARNING: unmet direct dependencies detected for PHYLINK
   Depends on [n]: NETDEVICES [=n]
   Selected by [y]:
   - GKI_HIDDEN_ETHERNET_CONFIGS [=y]
   WARNING: unmet direct dependencies detected for WIRELESS_EXT
   Depends on [n]: NET [=n] && WIRELESS [=n]
   Selected by [y]:
   - GKI_LEGACY_WEXT_ALLCONFIG [=y]
   WARNING: unmet direct dependencies detected for WEXT_CORE
   Depends on [n]: NET [=n] && WIRELESS [=n] && (CFG80211_WEXT [=n] || WIRELESS_EXT [=y])
   Selected by [y]:
   - GKI_LEGACY_WEXT_ALLCONFIG [=y]
   WARNING: unmet direct dependencies detected for NET_PTP_CLASSIFY
   Depends on [n]: NET [=n]
   Selected by [y]:
   - GKI_HIDDEN_NET_CONFIGS [=y]
   WARNING: unmet direct dependencies detected for SND_JACK
   Depends on [n]: SOUND [=y] && SND [=n]
   Selected by [y]:
   - GKI_HIDDEN_SND_CONFIGS [=y]
   WARNING: unmet direct dependencies detected for SND_VMASTER
   Depends on [n]: SOUND [=y] && SND [=n]
   Selected by [y]:
   - GKI_HIDDEN_SND_CONFIGS [=y]
   WARNING: unmet direct dependencies detected for CAN_RX_OFFLOAD
   Depends on [n]: NETDEVICES [=n] && CAN_DEV [=n] && CAN_NETLINK [=n]
   Selected by [y]:
   - GKI_HIDDEN_MCP251XFD_CONFIGS [=y]


vim +169 drivers/media/pci/intel/ipu6/../ipu-bus.c

   152	
   153	struct ipu_bus_device *ipu_bus_initialize_device(struct pci_dev *pdev,
   154							 struct device *parent,
   155							 void *pdata,
   156							 struct ipu_buttress_ctrl *ctrl,
   157							 char *name, unsigned int nr)
   158	{
   159		struct ipu_bus_device *adev;
   160		struct ipu_device *isp = pci_get_drvdata(pdev);
   161	
   162		adev = kzalloc(sizeof(*adev), GFP_KERNEL);
   163		if (!adev)
   164			return ERR_PTR(-ENOMEM);
   165	
   166		adev->dev.parent = parent;
   167		adev->dev.bus = &ipu_bus;
   168		adev->dev.release = ipu_bus_release;
 > 169		adev->dev.dma_ops = &ipu_dma_ops;
   170		adev->dma_mask = DMA_BIT_MASK(isp->secure_mode ?
   171					      IPU_MMU_ADDRESS_BITS :
   172					      IPU_MMU_ADDRESS_BITS_NON_SECURE);
   173		adev->dev.dma_mask = &adev->dma_mask;
   174		adev->dev.dma_parms = pdev->dev.dma_parms;
   175		adev->dev.coherent_dma_mask = adev->dma_mask;
   176		adev->ctrl = ctrl;
   177		adev->pdata = pdata;
   178		adev->isp = isp;
   179		mutex_init(&adev->resume_lock);
   180		dev_set_name(&adev->dev, "%s%d", name, nr);
   181	
   182		device_initialize(&adev->dev);
   183		pm_runtime_forbid(&adev->dev);
   184		pm_runtime_enable(&adev->dev);
   185	
   186		return adev;
   187	}
   188	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-10-25 17:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-25 17:10 [android-common:android15-6.6-desktop 15249/23047] drivers/media/pci/intel/ipu6/../ipu-bus.c:169:18: error: 'struct device' has no member named 'dma_ops' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.