[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200205094456.7f41ec4e@canb.auug.org.au>
Date: Wed, 5 Feb 2020 09:44:56 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Alex Deucher <alexdeucher@...il.com>
Cc: Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Hawking Zhang <Hawking.Zhang@....com>,
Frank Min <Frank.Min@....com>
Subject: linux-next: build warning after merge of the amdgpu tree
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
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists