Skip to content

Commit cc99482

Browse files
drm: context: 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 d260871 commit cc99482

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

drivers/gpu/drm/drm_context.c

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ struct drm_ctx_list {
4747
/** \name Context bitmap support */
4848
/*@{*/
4949

50-
/**
50+
/*
5151
* Free a handle from the context bitmap.
5252
*
5353
* \param dev DRM device.
@@ -68,7 +68,7 @@ void drm_legacy_ctxbitmap_free(struct drm_device * dev, int ctx_handle)
6868
mutex_unlock(&dev->struct_mutex);
6969
}
7070

71-
/**
71+
/*
7272
* Context bitmap allocation.
7373
*
7474
* \param dev DRM device.
@@ -88,7 +88,7 @@ static int drm_legacy_ctxbitmap_next(struct drm_device * dev)
8888
return ret;
8989
}
9090

91-
/**
91+
/*
9292
* Context bitmap initialization.
9393
*
9494
* \param dev DRM device.
@@ -104,7 +104,7 @@ void drm_legacy_ctxbitmap_init(struct drm_device * dev)
104104
idr_init(&dev->ctx_idr);
105105
}
106106

107-
/**
107+
/*
108108
* Context bitmap cleanup.
109109
*
110110
* \param dev DRM device.
@@ -163,7 +163,7 @@ void drm_legacy_ctxbitmap_flush(struct drm_device *dev, struct drm_file *file)
163163
/** \name Per Context SAREA Support */
164164
/*@{*/
165165

166-
/**
166+
/*
167167
* Get per-context SAREA.
168168
*
169169
* \param inode device inode.
@@ -211,7 +211,7 @@ int drm_legacy_getsareactx(struct drm_device *dev, void *data,
211211
return 0;
212212
}
213213

214-
/**
214+
/*
215215
* Set per-context SAREA.
216216
*
217217
* \param inode device inode.
@@ -263,7 +263,7 @@ int drm_legacy_setsareactx(struct drm_device *dev, void *data,
263263
/** \name The actual DRM context handling routines */
264264
/*@{*/
265265

266-
/**
266+
/*
267267
* Switch context.
268268
*
269269
* \param dev DRM device.
@@ -290,7 +290,7 @@ static int drm_context_switch(struct drm_device * dev, int old, int new)
290290
return 0;
291291
}
292292

293-
/**
293+
/*
294294
* Complete context switch.
295295
*
296296
* \param dev DRM device.
@@ -318,7 +318,7 @@ static int drm_context_switch_complete(struct drm_device *dev,
318318
return 0;
319319
}
320320

321-
/**
321+
/*
322322
* Reserve contexts.
323323
*
324324
* \param inode device inode.
@@ -351,7 +351,7 @@ int drm_legacy_resctx(struct drm_device *dev, void *data,
351351
return 0;
352352
}
353353

354-
/**
354+
/*
355355
* Add context.
356356
*
357357
* \param inode device inode.
@@ -404,7 +404,7 @@ int drm_legacy_addctx(struct drm_device *dev, void *data,
404404
return 0;
405405
}
406406

407-
/**
407+
/*
408408
* Get context.
409409
*
410410
* \param inode device inode.
@@ -428,7 +428,7 @@ int drm_legacy_getctx(struct drm_device *dev, void *data,
428428
return 0;
429429
}
430430

431-
/**
431+
/*
432432
* Switch context.
433433
*
434434
* \param inode device inode.
@@ -452,7 +452,7 @@ int drm_legacy_switchctx(struct drm_device *dev, void *data,
452452
return drm_context_switch(dev, dev->last_context, ctx->handle);
453453
}
454454

455-
/**
455+
/*
456456
* New context.
457457
*
458458
* \param inode device inode.
@@ -478,7 +478,7 @@ int drm_legacy_newctx(struct drm_device *dev, void *data,
478478
return 0;
479479
}
480480

481-
/**
481+
/*
482482
* Remove context.
483483
*
484484
* \param inode device inode.

0 commit comments

Comments
 (0)