From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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'
Date: Sat, 26 Oct 2024 01:10:11 +0800 [thread overview]
Message-ID: <202410260113.OiqYbdTm-lkp@intel.com> (raw)
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
reply other threads:[~2024-10-25 17:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202410260113.OiqYbdTm-lkp@intel.com \
--to=lkp@intel.com \
--cc=cros-kernel-buildreports@googlegroups.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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 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.