2018-03-13 11:18:51

by Eric Engestrom

[permalink] [raw]
Subject: [trivial PATCH] Documentation/sparse: fix typo

Signed-off-by: Eric Engestrom <[email protected]>
---
Documentation/dev-tools/sparse.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/dev-tools/sparse.rst b/Documentation/dev-tools/sparse.rst
index 78aa00a604a009071361..c401c952a340a50fa769 100644
--- a/Documentation/dev-tools/sparse.rst
+++ b/Documentation/dev-tools/sparse.rst
@@ -67,7 +67,7 @@ __releases - The specified lock is held on function entry, but not exit.

If the function enters and exits without the lock held, acquiring and
releasing the lock inside the function in a balanced way, no
-annotation is needed. The tree annotations above are for cases where
+annotation is needed. The three annotations above are for cases where
sparse would otherwise report a context imbalance.

Getting sparse
--
Cheers,
Eric



2018-03-21 15:21:00

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [trivial PATCH] Documentation/sparse: fix typo

On Tue, 13 Mar 2018 11:10:58 +0000
Eric Engestrom <[email protected]> wrote:

> If the function enters and exits without the lock held, acquiring and
> releasing the lock inside the function in a balanced way, no
> -annotation is needed. The tree annotations above are for cases where
> +annotation is needed. The three annotations above are for cases where
> sparse would otherwise report a context imbalance.

Applied to the docs tree, thanks.

jon