* [agd5f:drm-next 79/79] drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:1354:6: warning: no previous prototype for function 'amdgpu_acpi_detect'
@ 2021-05-26 8:39 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-26 8:39 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3707 bytes --]
tree: https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head: 753c7d6d85f57c4efdab4f259e8aee30fec9fb6f
commit: 753c7d6d85f57c4efdab4f259e8aee30fec9fb6f [79/79] drm/amdgpu/acpi: make ATPX/ATCS structures global
config: powerpc-randconfig-r011-20210526 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 99155e913e9bad5f7f8a247f8bb3a3ff3da74af1)
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 powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git
git fetch --no-tags agd5f drm-next
git checkout 753c7d6d85f57c4efdab4f259e8aee30fec9fb6f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
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 >>):
In file included from drivers/gpu/drm/amd/amdgpu/hdp_v4_0.c:23:
>> drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:1354:6: warning: no previous prototype for function 'amdgpu_acpi_detect' [-Wmissing-prototypes]
void amdgpu_acpi_detect(void) { }
^
drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:1354:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void amdgpu_acpi_detect(void) { }
^
static
1 warning generated.
--
In file included from drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:40:
>> drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:1354:6: warning: no previous prototype for function 'amdgpu_acpi_detect' [-Wmissing-prototypes]
void amdgpu_acpi_detect(void) { }
^
drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:1354:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void amdgpu_acpi_detect(void) { }
^
static
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1133:18: warning: result of comparison of constant 4294967296 with expression of type 'resource_size_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
res->start > 0x100000000ull)
~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:4638:6: warning: no previous prototype for function 'amdgpu_device_recheck_guilty_jobs' [-Wmissing-prototypes]
void amdgpu_device_recheck_guilty_jobs(
^
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:4638:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void amdgpu_device_recheck_guilty_jobs(
^
static
3 warnings generated.
vim +/amdgpu_acpi_detect +1354 drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h
1346
1347 void amdgpu_acpi_get_backlight_caps(struct amdgpu_dm_backlight_caps *caps);
1348 bool amdgpu_acpi_is_s0ix_supported(struct amdgpu_device *adev);
1349 void amdgpu_acpi_detect(void);
1350 #else
1351 static inline int amdgpu_acpi_init(struct amdgpu_device *adev) { return 0; }
1352 static inline void amdgpu_acpi_fini(struct amdgpu_device *adev) { }
1353 static inline bool amdgpu_acpi_is_s0ix_supported(struct amdgpu_device *adev) { return false; }
> 1354 void amdgpu_acpi_detect(void) { }
1355 #endif
1356
---
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: 40890 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-26 8:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-26 8:39 [agd5f:drm-next 79/79] drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:1354:6: warning: no previous prototype for function 'amdgpu_acpi_detect' 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.