Skip to content

Commit

Permalink
drm: vm: Clean up documentation
Browse files Browse the repository at this point in the history
Fix kernel doc comments to avoid warnings when compiling with W=1.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200306102937.4932-1-benjamin.gaignard@st.com
  • Loading branch information
Benjamin Gaignard committed Mar 16, 2020
1 parent cc99482 commit 40e5f35
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions drivers/gpu/drm/drm_vm.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ static pgprot_t drm_dma_prot(uint32_t map_type, struct vm_area_struct *vma)
return tmp;
}

/**
/*
* \c fault method for AGP virtual memory.
*
* \param vma virtual memory area.
Expand Down Expand Up @@ -192,7 +192,7 @@ static vm_fault_t drm_vm_fault(struct vm_fault *vmf)
}
#endif

/**
/*
* \c nopage method for shared virtual memory.
*
* \param vma virtual memory area.
Expand Down Expand Up @@ -225,7 +225,7 @@ static vm_fault_t drm_vm_shm_fault(struct vm_fault *vmf)
return 0;
}

/**
/*
* \c close method for shared virtual memory.
*
* \param vma virtual memory area.
Expand Down Expand Up @@ -294,7 +294,7 @@ static void drm_vm_shm_close(struct vm_area_struct *vma)
mutex_unlock(&dev->struct_mutex);
}

/**
/*
* \c fault method for DMA virtual memory.
*
* \param address access address.
Expand Down Expand Up @@ -329,7 +329,7 @@ static vm_fault_t drm_vm_dma_fault(struct vm_fault *vmf)
return 0;
}

/**
/*
* \c fault method for scatter-gather virtual memory.
*
* \param address access address.
Expand Down Expand Up @@ -435,7 +435,7 @@ static void drm_vm_close_locked(struct drm_device *dev,
}
}

/**
/*
* \c close method for all virtual memory types.
*
* \param vma virtual memory area.
Expand All @@ -453,7 +453,7 @@ static void drm_vm_close(struct vm_area_struct *vma)
mutex_unlock(&dev->struct_mutex);
}

/**
/*
* mmap DMA memory.
*
* \param file_priv DRM file private.
Expand Down Expand Up @@ -513,7 +513,7 @@ static resource_size_t drm_core_get_reg_ofs(struct drm_device *dev)
#endif
}

/**
/*
* mmap DMA memory.
*
* \param file_priv DRM file private.
Expand Down

0 comments on commit 40e5f35

Please sign in to comment.