On Mon, Jun 14, 2021 at 01:00:25PM +0900, Akira Yokosawa wrote: > As Listing 9.20 shows set_config() as a whole, replace the reference > to the line-count range with that to the Listing itself. > Also adjust conjugation of verbs. > > Fixes: 787eb4586767 ("defer/rcuusage: Add RCU space-time code and diagram") > Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> > --- > Hi Paul, > > These patches are trivial fixes independent of the planned > colon-related changes. Good eyes on both patches, queued and pushed, thank you! Thanx, Paul > Thanks, Akira > -- > defer/rcuusage.tex | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/defer/rcuusage.tex b/defer/rcuusage.tex > index 8e705ce4..b3d79d13 100644 > --- a/defer/rcuusage.tex > +++ b/defer/rcuusage.tex > @@ -798,7 +798,7 @@ by the RCU singleton data structure illustrated in > \cref{fig:defer:Insertion With Concurrent Readers,fig:defer:Deletion With Concurrent Readers}. > This structure is defined on \clnrefrange{myconfig.b}{myconfig.e} of > \cref{lst:defer:Singleton Get}, and contains two integer fields, > -\co{->a} and \co{->b}. > +\co{->a} and \co{->b} (\path{singleton.c}). > The current instance of this structure is referenced by the \co{curconfig} > pointer defined on \clnref{myconfig.e}. > \end{fcvref} > @@ -828,9 +828,9 @@ with each other. > \end{fcvref} > > \begin{fcvref}[ln:defer:singleton:set] > -The structure is updated by the \co{set_config()} function shown on > -\clnrefrange{set_config.b}{set_config.e}. > -\Clnrefrange{allocinit.b}{allocinit.e} allocates and initializes a > +The structure is updated by the \co{set_config()} function shown in > +\cref{lst:defer:Singleton Set}. > +\Clnrefrange{allocinit.b}{allocinit.e} allocate and initialize a > new \co{myconfig} structure. > \Clnref{xchg} atomically exchanges a pointer to this new structure > with the pointer to the old structure in \co{curconfig}, while also > -- > 2.17.1 >