Skip to contentSkip to conversation

drm: Fix up markup fumble

PATCH In review Daniel Vetter 2 participants 2 messages May 4, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm: Fix up markup fumble

It's & for struct references, not #.

---
 include/drm/drm_modeset_helper_vtables.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/drm_modeset_helper_vtables.h +1 -1
index b61c2d45192e..d4619dc2eecb 100644
@@ -672,7 +672,7 @@ struct drm_connector_helper_funcs {
 	 * fixed panel can also manually add specific modes using
 	 * drm_mode_probed_add(). Drivers which manually add modes should also
 	 * make sure that the @display_info, @width_mm and @height_mm fields of the
-	 * struct #drm_connector are filled in.
+	 * struct &drm_connector are filled in.
 	 *
 	 * Virtual drivers that just want some standard VESA mode with a given
 	 * resolution can call drm_add_modes_noedid(), and mark the preferred
Signature · 6 lines
2.8.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw
Quoted 12 lines · Daniel Vetter

It's & for struct references, not #.

---
 include/drm/drm_modeset_helper_vtables.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/drm_modeset_helper_vtables.h +0 -0
index b61c2d45192e..d4619dc2eecb 100644

include/drm/drm_modeset_helper_vtables.h struct drm_connector_helper_funcs { · line 675

Quoted 5 lines
include/drm/drm_modeset_helper_vtables.h +1 -1
@@ -672,7 +672,7 @@ struct drm_connector_helper_funcs {
 	 * fixed panel can also manually add specific modes using
 	 * drm_mode_probed_add(). Drivers which manually add modes should also
 	 * make sure that the @display_info, @width_mm and @height_mm fields of the
-	 * struct #drm_connector are filled in.
+	 * struct &drm_connector are filled in.

This is all right, but in the future I think we should promote "&struct foo" over "struct &foo". Both work now, but the former makes support for &enum foo and &union foo nicer in kernel-doc.

BR,
Jani.

Quoted 3 lines
include/drm/drm_modeset_helper_vtables.h +0 -0
 	 *
 	 * Virtual drivers that just want some standard VESA mode with a given
 	 * resolution can call drm_add_modes_noedid(), and mark the preferred
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel