>> * How do you think about to avoid a variable assignment in case
>> that this memory allocation failed anyhow?
>
> There is no memory allocation that can fail at this point.
Do you really know the failure probability for a call of the
function "kmalloc" (within the function "wbcir_tx") under
>> Move the assignment for the local variable "data" behind the source code
>> for a memory allocation by this function.
>
> Sorry, I can't see what the point is?
* How do you think about to avoid a variable assignment in case
that this memory allocation failed anyhow?
* Do you care for data
October 14, 2016 1:42 PM, "SF Markus Elfring"
wrote:
> From: Markus Elfring
> Date: Fri, 14 Oct 2016 07:34:46 +0200
>
> Move the assignment for the local variable "data" behind the source code
> for a memory allocation by this
October 19, 2016 3:32 PM, "SF Markus Elfring"
wrote:
>>> Move the assignment for the local variable "data" behind the source code
>>> for a memory allocation by this function.
>>
>> Sorry, I can't see what the point is?
>
> * How do you think about to avoid a
From: Markus Elfring
Date: Fri, 14 Oct 2016 07:34:46 +0200
Move the assignment for the local variable "data" behind the source code
for a memory allocation by this function.
Signed-off-by: Markus Elfring
---