Re: [PATCH v3 2/2] iommu/exynos: Add proper runtime pm support
From: kbuild test robot
Date: Tue Sep 13 2016 - 10:36:23 EST
Hi Marek,
[auto build test ERROR on iommu/next]
[also build test ERROR on v4.8-rc6 next-20160913]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]
url: https://github.com/0day-ci/linux/commits/Marek-Szyprowski/Exynos-IOMMU-proper-runtime-PM-support-use-device-dependencies/20160913-205434
base: https://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git next
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm
All errors (new ones prefixed by >>):
drivers/iommu/exynos-iommu.c: In function 'exynos_iommu_of_xlate':
>> drivers/iommu/exynos-iommu.c:1232:2: error: implicit declaration of function 'device_link_add' [-Werror=implicit-function-declaration]
device_link_add(dev, data->sysmmu, DEVICE_LINK_AVAILABLE,
^
>> drivers/iommu/exynos-iommu.c:1232:37: error: 'DEVICE_LINK_AVAILABLE' undeclared (first use in this function)
device_link_add(dev, data->sysmmu, DEVICE_LINK_AVAILABLE,
^
drivers/iommu/exynos-iommu.c:1232:37: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/iommu/exynos-iommu.c:1233:4: error: 'DEVICE_LINK_PERSISTENT' undeclared (first use in this function)
DEVICE_LINK_PERSISTENT | DEVICE_LINK_PM_RUNTIME);
^
>> drivers/iommu/exynos-iommu.c:1233:29: error: 'DEVICE_LINK_PM_RUNTIME' undeclared (first use in this function)
DEVICE_LINK_PERSISTENT | DEVICE_LINK_PM_RUNTIME);
^
cc1: some warnings being treated as errors
vim +/device_link_add +1232 drivers/iommu/exynos-iommu.c
1226
1227 /*
1228 * SYSMMU will be runtime enabled via device link (dependency) to its
1229 * master device, so there are no direct calls to pm_runtime_get/put
1230 * in this driver.
1231 */
> 1232 device_link_add(dev, data->sysmmu, DEVICE_LINK_AVAILABLE,
> 1233 DEVICE_LINK_PERSISTENT | DEVICE_LINK_PM_RUNTIME);
1234
1235 return 0;
1236 }
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data