mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
cocci: Add spatch/coccinelle patches for driver porting
This is an impartial set of transformations to help port the drivers to the new interfaces.
This commit is contained in:
9
cocci/apply-all
Executable file
9
cocci/apply-all
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
pushd $( dirname "$0" )
|
||||
all="all.cocci"
|
||||
real="/tmp/real.cocci"
|
||||
cat "$all" | grep -P '^(?!#).+' | xargs cat >$real || exit 1
|
||||
popd
|
||||
|
||||
spatch --sp-file $real "$@"
|
||||
Reference in New Issue
Block a user