All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] sparse v0.6.4 regression
@ 2021-09-27 23:41 Ramsay Jones
  2022-05-21  9:44 ` Luc Van Oostenryck
  0 siblings, 1 reply; 3+ messages in thread
From: Ramsay Jones @ 2021-09-27 23:41 UTC (permalink / raw)
  To: Luc Van Oostenryck; +Cc: Sparse Mailing-list, Junio C Hamano


Hi Luc,

I noticed a regression introduced by commit a69f8d70 which, effectively,
disables the 'memcpy-max-count' check. (I had done a 'make CC=cgcc' in
git, expecting to see some warnings, including the 'memcpy-max-count'
check, and it didn't appear ... :( ). Sorry for not noticing before, but
the 'sparse' make target is supposed to suppress that warning for the
pack-revindex.c file, so ... ;P

[I tried finding your last 'kernel sparse warnings change' list email
to see how many of these warnings still appear in the kernel ... well
it would be zero with v0.6.4!]

I also included the 'case label' patch I sent before, this time with
a commit message and a test. (The test could be extended when sparse
is updated to include the full label-positioning of C23!).

ATB,
Ramsay Jones

Ramsay Jones (2):
  sparse: fix broken 'memcpy-max-count' check
  parse: warn about a 'case label' on empty statement

 parse.c                        |  5 +++++
 sparse.c                       |  2 +-
 validation/byte-count-max.c    | 28 ++++++++++++++++++++++++++++
 validation/label-positioning.c | 22 ++++++++++++++++++++++
 4 files changed, 56 insertions(+), 1 deletion(-)
 create mode 100644 validation/byte-count-max.c
 create mode 100644 validation/label-positioning.c

-- 
2.33.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-22 15:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-27 23:41 [PATCH 0/2] sparse v0.6.4 regression Ramsay Jones
2022-05-21  9:44 ` Luc Van Oostenryck
2022-05-22 15:06   ` Ramsay Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.