From: yu kuai Date: Mon, 4 Nov 2019 13:27:22 +0000 (+0800) Subject: drm/amdgpu: add function parameter description in 'amdgpu_gart_bind' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e8b74035d8032dd8cc8fe8ff6eaecb20827227c2;p=linux.git drm/amdgpu: add function parameter description in 'amdgpu_gart_bind' Fixes gcc warning: drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c:313: warning: Function parameter or member 'flags' not described in 'amdgpu_gart_bind' Fixes: d38ceaf99ed0 ("drm/amdgpu: add core driver (v4)") Signed-off-by: yu kuai Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c index 19705e399905b..e01e681d2a600 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c @@ -302,6 +302,7 @@ int amdgpu_gart_map(struct amdgpu_device *adev, uint64_t offset, * @pages: number of pages to bind * @pagelist: pages to bind * @dma_addr: DMA addresses of pages + * @flags: page table entry flags * * Binds the requested pages to the gart page table * (all asics).