All of lore.kernel.org
 help / color / mirror / Atom feed
* [cocci] spatch --use-patch-diff broken?
@ 2024-02-05 17:56 Jakub Kicinski
  2024-02-05 19:38 ` Julia Lawall
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Jakub Kicinski @ 2024-02-05 17:56 UTC (permalink / raw)
  To: Julia Lawall; +Cc: cocci

Hi!

I've been trying to run coccicheck with --use-patch-diff
to try to limit the number of processed files. I _think_
it worked when I set it up early last month but recently
I went back to check and make coccicheck stops after
the first spatch call, all it prints is "hd"

https://netdev-3.bots.linux.dev/cocci/results/452585/new

spatch seems to work fine when run without --use-patch-diff
cocci version is the latest from git as of $now

FWIW the git hashes are from this tree:
https://github.com/linux-netdev/testing.git
(probably best to clone that thing with --depth $number)


Example:

/usr/local/bin/spatch -D report --no-show-diff --very-quiet --cocci-file ./scripts/coccinelle/api/err_cast.cocci --no-includes --include-headers --dir . -I ./arch/x86/include -I ./arch/x86/include/generated -I ./include -I ./arch/x86/include/uapi -I ./arch/x86/include/generated/uapi -I ./include/uapi -I ./include/generated/uapi --include ./include/linux/compiler-version.h --include ./include/linux/kconfig.h --jobs 48 --chunksize 1 --use-patch-diff b9f2444cd114a7f9c44950dc850aa1753b3edd94..be5bf59888403413619dd74e0d5f5386ffafbc90
grep: warning: + at start of expression
grep: warning: + at start of expression
grep: warning: + at start of expression
hd

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

end of thread, other threads:[~2024-02-06 15:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-05 17:56 [cocci] spatch --use-patch-diff broken? Jakub Kicinski
2024-02-05 19:38 ` Julia Lawall
2024-02-05 19:39 ` Julia Lawall
2024-02-05 20:02   ` Jakub Kicinski
2024-02-05 22:37 ` Julia Lawall
2024-02-05 23:36   ` Jakub Kicinski
2024-02-06 11:31 ` Julia Lawall
2024-02-06 13:58 ` Julia Lawall
2024-02-06 15:14   ` Jakub Kicinski

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.