rcu.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: SeongJae Park <sj38.park@gmail.com>
To: paulmck@kernel.org
Cc: corbet@lwn.net, rcu@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org, madhuparnabhowmik04@gmail.com,
	sj38.park@gmail.com, SeongJae Park <sjpark@amazon.de>
Subject: [PATCH v2 2/7] doc/RCU/listRCU: Fix typos in a example code snippets
Date: Mon,  6 Jan 2020 20:18:47 +0100	[thread overview]
Message-ID: <20200106191852.22973-3-sjpark@amazon.de> (raw)
In-Reply-To: <20200106191852.22973-1-sjpark@amazon.de>

Signed-off-by: SeongJae Park <sjpark@amazon.de>
---
 Documentation/RCU/listRCU.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/RCU/listRCU.rst b/Documentation/RCU/listRCU.rst
index 55d2b30db481..e768f56e8fa3 100644
--- a/Documentation/RCU/listRCU.rst
+++ b/Documentation/RCU/listRCU.rst
@@ -226,7 +226,7 @@ need to be filled in)::
 		list_for_each_entry(e, list, list) {
 			if (!audit_compare_rule(rule, &e->rule)) {
 				e->rule.action = newaction;
-				e->rule.file_count = newfield_count;
+				e->rule.field_count = newfield_count;
 				write_unlock(&auditsc_lock);
 				return 0;
 			}
@@ -255,7 +255,7 @@ RCU (*read-copy update*) its name.  The RCU code is as follows::
 					return -ENOMEM;
 				audit_copy_rule(&ne->rule, &e->rule);
 				ne->rule.action = newaction;
-				ne->rule.file_count = newfield_count;
+				ne->rule.field_count = newfield_count;
 				list_replace_rcu(&e->list, &ne->list);
 				call_rcu(&e->rcu, audit_free_rule);
 				return 0;
-- 
2.17.1


  parent reply	other threads:[~2020-01-06 19:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-06 19:18 [PATCH v2 0/7] Fix trivial nits in RCU docs SeongJae Park
2020-01-06 19:18 ` [PATCH v2 1/7] doc/RCU/Design: Remove remaining HTML tags in ReST files SeongJae Park
2020-01-06 19:18 ` SeongJae Park [this message]
2020-01-06 19:18 ` [PATCH v2 3/7] doc/RCU/listRCU: Update example function name SeongJae Park
2020-01-06 19:18 ` [PATCH v2 4/7] doc/RCU/rcu: Use ':ref:' for links to other docs SeongJae Park
2020-01-06 19:18 ` [PATCH v2 5/7] doc/RCU/rcu: Use absolute paths for non-rst files SeongJae Park
2020-01-06 19:18 ` [PATCH v2 6/7] doc/RCU/rcu: Use https instead of http if possible SeongJae Park
2020-01-06 19:18 ` [PATCH v2 7/7] rcu: Fix typos in beginning comments SeongJae Park
2020-01-06 19:43 ` [PATCH v2 0/7] Fix trivial nits in RCU docs SeongJae Park
2020-01-06 19:52   ` Paul E. McKenney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200106191852.22973-3-sjpark@amazon.de \
    --to=sj38.park@gmail.com \
    --cc=corbet@lwn.net \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=madhuparnabhowmik04@gmail.com \
    --cc=paulmck@kernel.org \
    --cc=rcu@vger.kernel.org \
    --cc=sjpark@amazon.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).