Re: dm snapshot: Use kmalloc_array() in init_origin_hash() ?
From: SF Markus Elfring
Date: Fri Sep 30 2016 - 03:16:03 EST
> I've recently ping-ponged with the kernel's "resident wrong bot of the
> day" over this very rule (kmalloc_array() is safer than kmalloc(), so
> change your driver now!).
Your bot of the day is going to point more update candidates out
in various source files that can "accidentally" belong also to Linux. ;-)
> Could we just give wrong bots a bit less ammunition whenever that's feasible?
How do you think about to clarify constraints any further so that
the probability for false positives can be reduced as desired for
the involved source code analysis tools?
> Even if you don't care about my ping-pong experiences: this checkpatch
> test is broken, please just fix it!
I am curious how collateral software evolution will be continued.
Regards,
Markus