Thread (6 messages) 6 messages, 4 authors, 2017-09-05

Re: connector: Delete an error message for a failed memory allocation in cn_queue_alloc_callback_entry()

flat view

From: SF Markus Elfring <hidden>
Date: 2017-08-28 07:09:38
Also in: kernel-janitors, lkml

Did coccinelle trip on the message
I suggest to reconsider this implementation detail with the combination
of a function call like “kzalloc”.
A script for the semantic patch language can point various update candidates
out according to a source code search pattern which is similar to “OOM_MESSAGE”
in the script “checkpatch.pl”.

or the fact you weren't returning NULL?
How does this concern fit to my update suggestion?

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