scripts: Add coccinelle file to use BIT macro
This commit is contained in:
committed by
Jeremy Soller
parent
7888f214bb
commit
9a3ecba010
11
scripts/spatch.sh
Executable file
11
scripts/spatch.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
spatch \
|
||||
--sp-file ./scripts/coccinelle/bit-macro.cocci \
|
||||
--macro-file ./scripts/coccinelle/macros.h \
|
||||
--no-includes \
|
||||
--include-headers \
|
||||
--preprocess \
|
||||
--in-place \
|
||||
--dir src/
|
Reference in New Issue
Block a user