It was generated from my patch "drm/amdkfd: Change kfd/svm page fault
drain handling". kernel test robot <[email protected]> also reported same.
Please add:
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot<[email protected]>
|
Closes:https://lore.kernel.org/oe-kbuild-all/[email protected]/
Regards
Xiaogang
On 8/26/2024 8:26 AM, Srinivasan Shanmugam wrote:
Caution: This message originated from an External Source. Use proper caution
when opening attachments, clicking links, or responding.
This commit adds a description for the 'ts' parameter in the
amdgpu_vm_handle_fault function's comment block.
Fixes the below with gcc W=1:
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:2781: warning: Function parameter or
struct member 'ts' not described in 'amdgpu_vm_handle_fault'
Cc: Christian König<[email protected]>
Cc: Alex Deucher<[email protected]>
Signed-off-by: Srinivasan Shanmugam<[email protected]>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
index ad2e469548c9..0fa165e8fb40 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
@@ -2766,6 +2766,7 @@ int amdgpu_vm_ioctl(struct drm_device *dev, void *data,
struct drm_file *filp)
* amdgpu_vm_handle_fault - graceful handling of VM faults.
* @adev: amdgpu device pointer
* @pasid: PASID of the VM
+ * @ts: Timestamp of the fault
* @vmid: VMID, only used for GFX 9.4.3.
* @node_id: Node_id received in IH cookie. Only applicable for
* GFX 9.4.3.
--
2.34.1