* [chrome-os:chromeos-4.19 9/14] drivers/gpu/drm/evdi/evdi_drv.c:74:6: warning: no previous prototype for function 'evdi_platform_device_is_free'
@ 2021-02-20 13:33 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-02-20 13:33 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2537 bytes --]
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.19
head: 0e5434c74b34490991f87d8c8b266e3b6b6be895
commit: 789da1dcaf055e595a9ffdc02e7b575b62a53b24 [9/14] CHROMIUM: drm/evdi: Use free platform device again after its parent was removed
config: arm64-randconfig-r012-20210220 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-4.19
git checkout 789da1dcaf055e595a9ffdc02e7b575b62a53b24
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/evdi/evdi_drv.c:74:6: warning: no previous prototype for function 'evdi_platform_device_is_free' [-Wmissing-prototypes]
bool evdi_platform_device_is_free(struct platform_device *pdev)
^
drivers/gpu/drm/evdi/evdi_drv.c:74:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
bool evdi_platform_device_is_free(struct platform_device *pdev)
^
static
1 warning generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for DEVFREQ_THERMAL
Depends on THERMAL && PM_DEVFREQ && PM_OPP
Selected by
- DRM_POWERVR_ROGUE_1_10 && ARM64 && HAS_IOMEM && DRM && SYNC_FILE
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(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 32919 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-02-20 13:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-20 13:33 [chrome-os:chromeos-4.19 9/14] drivers/gpu/drm/evdi/evdi_drv.c:74:6: warning: no previous prototype for function 'evdi_platform_device_is_free' 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.