Skip to content

Commit 43415f1

Browse files
mchehabJonathan Corbet
authored andcommitted
docs: security: core.rst: Fix several warnings
Multi-line literal markups only work when they're idented at the same level, with is not the case here: Documentation/security/keys/core.rst:1597: WARNING: Inline literal start-string without end-string. Documentation/security/keys/core.rst:1597: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1597: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1598: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1598: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1600: WARNING: Inline literal start-string without end-string. Documentation/security/keys/core.rst:1600: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1600: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1600: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1600: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1666: WARNING: Inline literal start-string without end-string. Documentation/security/keys/core.rst:1666: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1666: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1666: WARNING: Inline emphasis start-string without end-string. Fix it by using a code-block instead. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent 6ad8b21 commit 43415f1

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

‎Documentation/security/keys/core.rst‎

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1594,10 +1594,12 @@ The structure has a number of fields, some of which are mandatory:
15941594
attempted key link operation. If there is no match, -EINVAL is returned.
15951595

15961596

1597-
* ``int (*asym_eds_op)(struct kernel_pkey_params *params,
1598-
const void *in, void *out);``
1599-
``int (*asym_verify_signature)(struct kernel_pkey_params *params,
1600-
const void *in, const void *in2);``
1597+
* ``asym_eds_op`` and ``asym_verify_signature``::
1598+
1599+
int (*asym_eds_op)(struct kernel_pkey_params *params,
1600+
const void *in, void *out);
1601+
int (*asym_verify_signature)(struct kernel_pkey_params *params,
1602+
const void *in, const void *in2);
16011603
16021604
These methods are optional. If provided the first allows a key to be
16031605
used to encrypt, decrypt or sign a blob of data, and the second allows a
@@ -1662,8 +1664,10 @@ The structure has a number of fields, some of which are mandatory:
16621664
required crypto isn't available.
16631665

16641666

1665-
* ``int (*asym_query)(const struct kernel_pkey_params *params,
1666-
struct kernel_pkey_query *info);``
1667+
* ``asym_query``::
1668+
1669+
int (*asym_query)(const struct kernel_pkey_params *params,
1670+
struct kernel_pkey_query *info);
16671671
16681672
This method is optional. If provided it allows information about the
16691673
public or asymmetric key held in the key to be determined.

0 commit comments

Comments
 (0)