08/11/2017 00:41, Ferruh Yigit: > On 11/7/2017 3:35 PM, Thomas Monjalon wrote: > > Have you tried to send a patch to Linux > > in order to avoid the workaround below? > > No, not tried, but that list looks like put intentionally so not sure if a > patch > helps.
checkpatch has an option to be run outside of Linux. > >> +FILES="COPYING CREDITS Kbuild" > >> +FOLDERS="Documentation arch include fs init ipc kernel scripts" > >> + > >> +# Kernel script checks for some files and folders to run > >> +workaround () { > >> + for f in $FILES; do > >> + if [ ! -f $f ]; then touch $f; fi > >> + done > >> + > >> + for d in $FOLDERS; do > >> + if [ ! -d $d ]; then mkdir $d; fi > >> + done > >> +} > >