From: "Herbert, Marc" <marc.herbert@intel.com>
To: Luc Van Oostenryck <lucvoo@kernel.org>
Cc: "linux-sparse@vger.kernel.org" <linux-sparse@vger.kernel.org>
Subject: Christmas wish list: -Werror and -Wno-warn-about-X
Date: Fri, 19 Jan 2024 23:09:47 +0000 [thread overview]
Message-ID: <28F15CC0-6BCF-411C-8481-9EC8900B8372@intel.com> (raw)
In-Reply-To: <hgs2cgb2auv5y3apocuig6xjhmv3oy5hbzmvjxrxoharjb3fzy@mhjaitwlrnvy>
> Anyway, with this it was very easy to reproduce and find the cause.
> Fixed and pushed, so mainline Sparse should be OK now.
> Many thanks for the bug report,
Fix confirmed, many thanks for the super quick fix!
It's also great to see that you seem to have more time to spend on
sparse right now. So trying to push my luck, here's the number 1 item on
my "Christmas Wish List": a combination of -Werror and -Wno-warn-about-X
options that would provides finer-grained and generally better control
on the exit status and output. After maintaining sparse automation for
many months, this is I think what would lower the CI adoption bar the
most.
So far we've been using a brittle script that captures the incredibly
verbose and mostly unusable output (mostly due to some hard-to-fix
warnings located in common .h files) and "post-processes" it
with... "grep".
https://github.com/thesofproject/sof/commit/b7708182fbe5d
I'm curious how people typically automate runnning sparse on the
Linux kernel. Does everyone "greps" logs too? Or is it more like
`$(wc -l) == 0`?
next prev parent reply other threads:[~2024-01-19 23:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <6A3A9274-C059-467A-89A8-54815D5461BC@intel.com>
2023-12-27 8:00 ` Infinite loop in delete_pseudo_user_list_entry() bisected to commit "cast: optimize away casts to/from pointers" Herbert, Marc
2023-12-27 23:46 ` Luc Van Oostenryck
2023-12-28 1:08 ` Herbert, Marc
2023-12-28 14:21 ` Luc Van Oostenryck
2024-01-19 23:09 ` Herbert, Marc [this message]
2024-01-20 1:27 ` Christmas wish list: -Werror and -Wno-warn-about-X Luc Van Oostenryck
2024-10-09 21:18 ` Herbert, Marc
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=28F15CC0-6BCF-411C-8481-9EC8900B8372@intel.com \
--to=marc.herbert@intel.com \
--cc=linux-sparse@vger.kernel.org \
--cc=lucvoo@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