Skip to content

Commit 3772ec4

Browse files
mchehabJonathan Corbet
authored andcommitted
Documentation/CodingStyle: use the .. note:: markup where needed
There are two places there where there are notes that should be highlighted. So, use the ReST note markup for such texts. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent 5d628b4 commit 3772ec4

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

‎Documentation/CodingStyle‎

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -333,18 +333,22 @@ useful only for:
333333
Example: ``pte_t`` etc. opaque objects that you can only access using
334334
the proper accessor functions.
335335

336-
NOTE! Opaqueness and ``accessor functions`` are not good in themselves.
337-
The reason we have them for things like pte_t etc. is that there
338-
really is absolutely **zero** portably accessible information there.
336+
.. note::
337+
338+
Opaqueness and ``accessor functions`` are not good in themselves.
339+
The reason we have them for things like pte_t etc. is that there
340+
really is absolutely **zero** portably accessible information there.
339341

340342
(b) Clear integer types, where the abstraction **helps** avoid confusion
341343
whether it is ``int`` or ``long``.
342344

343345
u8/u16/u32 are perfectly fine typedefs, although they fit into
344346
category (d) better than here.
345347

346-
NOTE! Again - there needs to be a **reason** for this. If something is
347-
``unsigned long``, then there's no reason to do
348+
.. note::
349+
350+
Again - there needs to be a **reason** for this. If something is
351+
``unsigned long``, then there's no reason to do
348352

349353
typedef unsigned long myflags_t;
350354

0 commit comments

Comments
 (0)