linux-next: build warning after merge of the amdgpu tree
From: Stephen Rothwell
Date: Tue Feb 04 2020 - 17:45:10 EST
Hi all,
After merging the amdgpu tree, today's linux-next build (x86_64
allmodconfig) produced this warning:
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c: In function 'amdgpu_xgmi_remove_device':
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c:466:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
466 | return;
| ^~~~~~
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c:461:5: note: declared here
461 | int amdgpu_xgmi_remove_device(struct amdgpu_device *adev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c:470:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
470 | return;
| ^~~~~~
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c:461:5: note: declared here
461 | int amdgpu_xgmi_remove_device(struct amdgpu_device *adev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Introduced by commit
2fe4750e8506 ("drm/amdgpu: move xgmi init/fini to xgmi_add/remove_device call")
--
Cheers,
Stephen Rothwell
Attachment:
pgphfmAufvlqT.pgp
Description: OpenPGP digital signature