Re: [PATCH v3] sparse: add -Wpointer-arith flag to toggle sizeof(void) warnings

2018-04-10 Thread Joey Pabalinas
On Tue, Apr 10, 2018 at 12:09:44PM -1000, Joey Pabalinas wrote: > Not a problem; I will rebase it on the v0.5.2-rc1 tag and > take out the function pointer test-case. Sorry, I meant v0.5.2, heh. Sending the v4 now. -- Cheers, Joey Pabalinas signature.asc Description: PGP signature

Re: [PATCH v3] sparse: add -Wpointer-arith flag to toggle sizeof(void) warnings

2018-04-10 Thread Joey Pabalinas
On Tue, Apr 10, 2018 at 09:41:19PM +0200, Luc Van Oostenryck wrote: > 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 ma

Re: [PATCH v3] sparse: add -Wpointer-arith flag to toggle sizeof(void) warnings

2018-04-10 Thread Luc Van Oostenryck
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) warnin