diff options
author | Jonathan Neuschäfer <[email protected]> | 2019-08-08 18:36:28 +0200 |
---|---|---|
committer | Sam Ravnborg <[email protected]> | 2019-08-19 19:21:49 +0200 |
commit | 56d8d6413d0218a0b3cebc5decdcaedc9a0b7e4e (patch) | |
tree | 51be1a4f28aa50da84e6e2fcf2d8e20beec4efdf /scripts/gdb/linux/modules.py | |
parent | 2989f6451084aed3f8cc9992477f7a9bf57a3716 (diff) |
drm/drv: Use // for comments in example code
This improves Sphinx output in two ways:
- It avoids an unmatched single-quote ('), about which Sphinx complained:
Documentation/gpu/drm-internals.rst:298:
WARNING: Could not lex literal_block as "c". Highlighting skipped.
An alternative approach would be to replace "can't" with a word that
doesn't have a single-quote.
- It lets Sphinx format the comments in italics and grey, making the
code slightly easier to read.
Signed-off-by: Jonathan Neuschäfer <[email protected]>
Acked-by: Daniel Vetter <[email protected]> [via irc]
Signed-off-by: Sam Ravnborg <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions