Messages in this thread | | | Date | Tue, 10 Apr 2018 21:41:19 +0200 | From | Luc Van Oostenryck <> | Subject | Re: [PATCH v3] sparse: add -Wpointer-arith flag to toggle sizeof(void) warnings |
| |
On Mon, Apr 09, 2018 at 03:02:04PM -1000, Joey Pabalinas wrote: > Recent changes to the min()/max() macros in include/linux/kernel.h > have added a lot of noise when compiling the kernel with Sparse checking > enabled. This mostly is due to the *huge* increase in the number of > sizeof(void) warnings, a larger number of which can safely be ignored. >
Thank you very much.
There is just a problem with the test but it's my fault as I pointed to you to my tree but the master tree lack a lot of fixes and have problems when dereferencing function pointers. So, for the master tree, I propose to use a version with these tests removed: git://github.com/lucvoo/sparse-dev.git pointer-arith-v3
Cheers, -- Luc
| |