Re: mm/slub.c: inconsequent NULL checking

2008-02-20 Thread Pekka Enberg
Hi Adrian, On 2/20/2008, "Adrian Bunk" <[EMAIL PROTECTED]> wrote: > The Coverity checker spotted the following inconsequent NULL checking > introduced by commit 8ff12cfc009a2a38d87fa7058226fe197bb2696f: > > <-- snip --> > > ... > static inline int is_end(void *addr) > { > return

Re: mm/slub.c: inconsequent NULL checking

2008-02-20 Thread Pekka Enberg
Hi Adrian, On 2/20/2008, Adrian Bunk [EMAIL PROTECTED] wrote: The Coverity checker spotted the following inconsequent NULL checking introduced by commit 8ff12cfc009a2a38d87fa7058226fe197bb2696f: -- snip -- ... static inline int is_end(void *addr) { return (unsigned long)addr