[radeon-alex:amd-staging-drm-next 2/2] drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c:338:1: sparse: warning: no newline at end of file
kbuild test robot
lkp at intel.com
Thu Mar 7 03:18:00 UTC 2019
tree: git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next
head: c9115f8904eef0f880d3b4f8306f553b1bb1c532
commit: c9115f8904eef0f880d3b4f8306f553b1bb1c532 [2/2] drm/amdgpu: XGMI pstate switch initial support
reproduce:
# apt-get install sparse
git checkout c9115f8904eef0f880d3b4f8306f553b1bb1c532
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c:338:1: sparse: warning: no newline at end of file
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c:37:6: sparse: warning: symbol 'amdgpu_xgmi_hive_try_lock' was not declared. Should it be static?
vim +338 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
325
326 int amdgpu_xgmi_set_pstate(struct amdgpu_device *adev, int pstate)
327 {
328 int ret = 0;
329 struct amdgpu_hive_info *hive = amdgpu_get_xgmi_hive(adev, 0);
330
331 if (!hive)
332 return 0;
333
334 if (hive->pstate == pstate)
335 return 0;
336 /* Todo : sent the message to SMU for pstate change */
337 return ret;
> 338 }
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 67234 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190307/7b3b1ae2/attachment-0001.gz>
More information about the dri-devel
mailing list