We check static arrays against NULL pretty often in the kernel. I suspect most of these are due to recent kernel API changes. Should they be removed, or do people want to keep them around in case the APIs change again? Clang 3.7 warns about them by default, so they're easy to find.
- NULL checks of static arrays Michael McConville
- Re: NULL checks of static arrays Martin Pieuchot
- Re: NULL checks of static arrays Michael McConville
- Re: NULL checks of static arrays Martin Pieuchot