* [PATCH] Documentation: drm: Use '->' when describing access through pointers.
@ 2015-03-16 18:24 Liviu Dudau
2015-03-19 20:58 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Liviu Dudau @ 2015-03-16 18:24 UTC (permalink / raw)
To: Jonathan Corbet, Dave Airlie; +Cc: linux-doc, linux-kernel
The documentation is trying to describe accessing a field through a
pointer, but it is using '-<' instead of '->'. Fix that.
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
---
Documentation/DocBook/drm.tmpl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl
index 4b592ff..a69bf4c 100644
--- a/Documentation/DocBook/drm.tmpl
+++ b/Documentation/DocBook/drm.tmpl
@@ -1285,7 +1285,7 @@ int max_width, max_height;</synopsis>
</para>
<para>
If a page flip can be successfully scheduled the driver must set the
- <code>drm_crtc-<fb</code> field to the new framebuffer pointed to
+ <code>drm_crtc->fb</code> field to the new framebuffer pointed to
by <code>fb</code>. This is important so that the reference counting
on framebuffers stays balanced.
</para>
--
2.3.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Documentation: drm: Use '->' when describing access through pointers.
2015-03-16 18:24 [PATCH] Documentation: drm: Use '->' when describing access through pointers Liviu Dudau
@ 2015-03-19 20:58 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2015-03-19 20:58 UTC (permalink / raw)
To: Liviu Dudau; +Cc: Dave Airlie, linux-doc, linux-kernel
On Mon, 16 Mar 2015 18:24:46 +0000
Liviu Dudau <Liviu.Dudau@arm.com> wrote:
> The documentation is trying to describe accessing a field through a
> pointer, but it is using '-<' instead of '->'. Fix that.
Applied to the docs tree, thanks.
jon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-19 20:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-16 18:24 [PATCH] Documentation: drm: Use '->' when describing access through pointers Liviu Dudau
2015-03-19 20:58 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®