From: Dan Carpenter <dan.carpenter@linaro.org>
To: j.granados@samsung.com
Cc: smatch@vger.kernel.org, linux-sparse@vger.kernel.org
Subject: Re: [PATCH] sentinel_ctltable: Add a check for sentinel elements in ctl_table arrays
Date: Fri, 14 Jun 2024 16:28:52 +0300 [thread overview]
Message-ID: <b8162eb2-eeb2-44e0-9f3f-13af426a8a53@moroto.mountain> (raw)
In-Reply-To: <20240614-master-v1-1-c652f5aa15fb@samsung.com>
On Fri, Jun 14, 2024 at 02:29:41PM +0200, Joel Granados via B4 Relay wrote:
> From: Joel Granados <j.granados@samsung.com>
>
> Added a new check named check_sentinel_ctltable that prints a warning
> when a sentinel element is detected in a ctl_table struct array.
> Sentinels marking the end of a ctl_table array where completely removed
> from the linux kernel in [1]. We add this warning to avoid cases where a
> sentinel gets added by mistake.
>
> [1] https://lore.kernel.org/20240604-jag-sysctl_remset-v1-0-2df7ecdba0bd@samsung.com
>
> Signed-off-by: Joel Granados <j.granados@samsung.com>
> ---
Applied, thanks!
regards,
dan carpenter
prev parent reply other threads:[~2024-06-14 13:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-14 12:29 [PATCH] sentinel_ctltable: Add a check for sentinel elements in ctl_table arrays Joel Granados via B4 Relay
2024-06-14 13:28 ` Dan Carpenter [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=b8162eb2-eeb2-44e0-9f3f-13af426a8a53@moroto.mountain \
--to=dan.carpenter@linaro.org \
--cc=j.granados@samsung.com \
--cc=linux-sparse@vger.kernel.org \
--cc=smatch@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