Em Sat, 14 Apr 2018 12:06:34 +0200 "Jasmin J." <jasmin@xxxxxx> escreveu: > Hello Mauro/Hans! > > > Then you're probably not using the right version > Might be ... > The build script from Hans uses the Versions from here: > git://repo.or.cz/smatch.git That's right. The last patch on this repo is: 53b881888d7b (origin/master, origin/HEAD) check_or_vs_and: ignore the kernel's min/max macros And the patch that adds -Wpointer-arith applies cleanly at the top of it. > git://git.kernel.org/pub/scm/devel/sparse/sparse.git That's wrong. Sparse nowadays are getting updates on this dir: url = git://git.kernel.org/pub/scm/devel/sparse/chrisl/sparse.git I still track the old repo. My config for it is: [core] repositoryformatversion = 0 filemode = true bare = false [remote "origin"] url = git://git.kernel.org/pub/scm/devel/sparse/sparse.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master [remote "sparse-chris"] url = git://git.kernel.org/pub/scm/devel/sparse/chrisl/sparse.git fetch = +refs/heads/*:refs/remotes/sparse-chris/* > > > Yesterday, I added both trees I'm using here at: > > https://git.linuxtv.org/mchehab/sparse.git/ > > https://git.linuxtv.org/mchehab/smatch.git/ > Maybe we should use your version in the build script. > Hans? > > > IMHO, all 4 patches are disabling false-positive only warnings, > > although the 4th patch might have something useful, if fixed to > > properly handle the 64-bit compat macros. > Another good reason for using your version. Doing so, you can fix/extend > sparse/smatch and the daily build will automatically use that. > > BR, > Jasmin Thanks, Mauro