Re: dm snapshot: Use kmalloc_array() in init_origin_hash() ?

From
SF Markus Elfring <hidden>
Date
2016-09-30 07:15:36
Also in
dm-devel, kernel-janitors, lkml
Reply to
Paul Bolle, 2016-09-29
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
Thread (26 messages) 26 messages, 4 authors, last reply 2016-09-30
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help