tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.14
head: 6f8992e59d85c46b0273cd2a3a9ab9cea8ddb4a1
commit: 035897f9d50e86b6b4508e09db23b7dab831dedc [16/19] CHROMIUM: drm/evdi: Use free
platform device again after its parent was removed
config:
arm64-chromiumos-arm64-customedconfig-chrome-os:chromeos-4.14:1bf13820918c8ea2f8d01d646008dbc3c1cb5bee
(attached as .config)
compiler: aarch64-linux-gcc (GCC) 7.5.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
git remote add chrome-os
https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-4.14
git checkout 035897f9d50e86b6b4508e09db23b7dab831dedc
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/gpu/drm/evdi/evdi_drv.c:74:6: error: no previous
prototype for 'evdi_platform_device_is_free' [-Werror=missing-prototypes]
bool evdi_platform_device_is_free(struct platform_device *pdev)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/evdi/evdi_drv.c: In function 'add_device_with_usb_path':
drivers/gpu/drm/evdi/evdi_drv.c:384:8: error: variable 'itf_token' set but not
used [-Werror=unused-but-set-variable]
char *itf_token = NULL;
^~~~~~~~~
cc1: all warnings being treated as errors
vim +/evdi_platform_device_is_free +74 drivers/gpu/drm/evdi/evdi_drv.c
73
74 bool evdi_platform_device_is_free(struct platform_device *pdev)
75 {
76 struct drm_device *drm_dev =
77 (struct drm_device *)platform_get_drvdata(pdev);
78 struct evdi_device *evdi = drm_dev->dev_private;
79
80 if (evdi && !evdi_painter_is_connected(evdi))
81 return true;
82 return false;
83 }
84
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org