linux-next: build warning after merge of the amdgpu tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: pgp5ZWUKVpK68.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux