Thread (1333 messages) 1333 messages, 109 authors, 2024-01-05

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, linux-raid, lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help