Messages in this thread Patch in this message | | | From | Randy Dunlap <> | Subject | [PATCH v3] Documentation: core-api: packing: correct spelling | Date | Tue, 14 Feb 2023 21:37:38 -0800 |
| |
Correct spelling problems for Documentation/core-api/packing.rst as reported by codespell.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Vladimir Oltean <olteanv@gmail.com> Cc: netdev@vger.kernel.org Cc: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org Cc: "David S. Miller" <davem@davemloft.net> Cc: Eric Dumazet <edumazet@google.com> Cc: Jakub Kicinski <kuba@kernel.org> Cc: Paolo Abeni <pabeni@redhat.com> Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com> Acked-by: Daniel Jordan <daniel.m.jordan@oracle.com> --- v3: split into a separate patch as requested by Jakub.
Documentation/core-api/packing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff -- a/Documentation/core-api/packing.rst b/Documentation/core-api/packing.rst --- a/Documentation/core-api/packing.rst +++ b/Documentation/core-api/packing.rst @@ -161,6 +161,6 @@ xxx_packing() that calls it using the pr The packing() function returns an int-encoded error code, which protects the programmer against incorrect API use. The errors are not expected to occur -durring runtime, therefore it is reasonable for xxx_packing() to return void +during runtime, therefore it is reasonable for xxx_packing() to return void and simply swallow those errors. Optionally it can dump stack or print the error description.
| |