Skip to content

Commit 40e5f35

Browse files
drm: vm: Clean up documentation
Fix kernel doc comments to avoid warnings when compiling with W=1. Signed-off-by: Benjamin Gaignard <[email protected]> Acked-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent cc99482 commit 40e5f35

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

drivers/gpu/drm/drm_vm.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ static pgprot_t drm_dma_prot(uint32_t map_type, struct vm_area_struct *vma)
102102
return tmp;
103103
}
104104

105-
/**
105+
/*
106106
* \c fault method for AGP virtual memory.
107107
*
108108
* \param vma virtual memory area.
@@ -192,7 +192,7 @@ static vm_fault_t drm_vm_fault(struct vm_fault *vmf)
192192
}
193193
#endif
194194

195-
/**
195+
/*
196196
* \c nopage method for shared virtual memory.
197197
*
198198
* \param vma virtual memory area.
@@ -225,7 +225,7 @@ static vm_fault_t drm_vm_shm_fault(struct vm_fault *vmf)
225225
return 0;
226226
}
227227

228-
/**
228+
/*
229229
* \c close method for shared virtual memory.
230230
*
231231
* \param vma virtual memory area.
@@ -294,7 +294,7 @@ static void drm_vm_shm_close(struct vm_area_struct *vma)
294294
mutex_unlock(&dev->struct_mutex);
295295
}
296296

297-
/**
297+
/*
298298
* \c fault method for DMA virtual memory.
299299
*
300300
* \param address access address.
@@ -329,7 +329,7 @@ static vm_fault_t drm_vm_dma_fault(struct vm_fault *vmf)
329329
return 0;
330330
}
331331

332-
/**
332+
/*
333333
* \c fault method for scatter-gather virtual memory.
334334
*
335335
* \param address access address.
@@ -435,7 +435,7 @@ static void drm_vm_close_locked(struct drm_device *dev,
435435
}
436436
}
437437

438-
/**
438+
/*
439439
* \c close method for all virtual memory types.
440440
*
441441
* \param vma virtual memory area.
@@ -453,7 +453,7 @@ static void drm_vm_close(struct vm_area_struct *vma)
453453
mutex_unlock(&dev->struct_mutex);
454454
}
455455

456-
/**
456+
/*
457457
* mmap DMA memory.
458458
*
459459
* \param file_priv DRM file private.
@@ -513,7 +513,7 @@ static resource_size_t drm_core_get_reg_ofs(struct drm_device *dev)
513513
#endif
514514
}
515515

516-
/**
516+
/*
517517
* mmap DMA memory.
518518
*
519519
* \param file_priv DRM file private.

0 commit comments

Comments
 (0)