Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> writes: > Add a reference label to the document so it can be crossed referenced > from another document in the tree. > While at it, add a SPDX identifier. The majority of the document has > been written Ahmed S. Darwish. > > Cc: Ahmed S. Darwish <darwi@xxxxxxxxxxxxx> > Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> > --- > Documentation/locking/seqlock.rst | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/locking/seqlock.rst b/Documentation/locking/seqlock.rst > index ec6411d02ac8f..4936b46dedc59 100644 > --- a/Documentation/locking/seqlock.rst > +++ b/Documentation/locking/seqlock.rst > @@ -1,3 +1,7 @@ > +.. SPDX-License-Identifier: GPL-2.0 > + > +.. _kernel_hacking_seqlock: > + This will work, but you don't really need the label. Just say "Documentation/locking/seqlock.rst" at the other end and the cross-reference link will happen by itself - and plain-text readers will know where to go as well. Thanks, jon