The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Jonathan Corbet <corbet@lwn.net>
To: rujra <braker.noob.kernel@gmail.com>, skhan@linuxfoundation.org
Cc: workflows@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] TASK :Linux Kernel Bug Fixing: Fixing Warning/Spelling checks on the rst file
Date: Tue, 13 May 2025 10:34:18 -0600	[thread overview]
Message-ID: <87ecwspj05.fsf@trenco.lwn.net> (raw)
In-Reply-To: <CAG+54Db5eJVogCLKr3y5W02-Ksn7ChTpzz+UJaeoXJxA_V-QtQ@mail.gmail.com>

Thank you for working to improve our documentation!

A few things...

rujra <braker.noob.kernel@gmail.com> writes:

> TASK : Documentation Task

This line doesn't belong in the changelog.

> removed warnings and added "SPDX-License-Identifier: GPL-2.0"
> in starting of the file , also instead of using re-use , have used
> reuse.

"also" in a changelog suggests you are doing more than one thing, which
is a sign that a patch needs to be broken up.

> Signed-off-by: Rujra Bhatt <braker.noob.kernel@gmail.com>
> <rujrabhatt3@gmail.com>

What's this line?

> ---
>  Documentation/process/adding-syscalls.rst | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/process/adding-syscalls.rst
> b/Documentation/process/adding-syscalls.rst
> index 906c47f1a9e5..17652610450d 100644
> --- a/Documentation/process/adding-syscalls.rst
> +++ b/Documentation/process/adding-syscalls.rst
> @@ -1,4 +1,4 @@
> -
> +.. SPDX-License-Identifier: GPL-2.0

We want SPDX lines in our documentation files, but we have to be very
careful about adding them.  Do you know that the author of this document
meant to contribute it under that license?  They probably did, but it's
not something we can make guesses about.

>  .. _addsyscalls:
>
>  Adding a New System Call
> @@ -117,7 +117,7 @@ then the flags argument should include a value
> that is equivalent to setting
>  the timing window between ``xyzzy()`` and calling
>  ``fcntl(fd, F_SETFD, FD_CLOEXEC)``, where an unexpected ``fork()`` and
>  ``execve()`` in another thread could leak a descriptor to
> -the exec'ed program. (However, resist the temptation to re-use the actual value
> +the exec'ed program. (However, resist the temptation to reuse the actual value
>  of the ``O_CLOEXEC`` constant, as it is architecture-specific and is part of a

As a typo goes, that's pretty minor.  When the other stuff is addressed
I can apply this change as a first patch, but would suggest looking for
more substantive problems to solve thereafter.

Thanks,

jon

      reply	other threads:[~2025-05-13 16:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-13 13:48 [PATCH] TASK :Linux Kernel Bug Fixing: Fixing Warning/Spelling checks on the rst file rujra
2025-05-13 16:34 ` Jonathan Corbet [this message]

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=87ecwspj05.fsf@trenco.lwn.net \
    --to=corbet@lwn.net \
    --cc=braker.noob.kernel@gmail.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=skhan@linuxfoundation.org \
    --cc=workflows@vger.kernel.org \
    /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