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

From: SF Markus Elfring
Date: Mon Aug 28 2017 - 03:09:41 EST


> 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