[Cbe-oss-dev] [PATCH 7/7]MARS/task: Queue minor cleanup
    Yuji Mano 
    yuji.mano at am.sony.com
       
    Wed Jan 21 08:53:34 EST 2009
    
    
  
Geert Uytterhoeven wrote:
> On Fri, 16 Jan 2009, Yuji Mano wrote:
>> Minor fix to adhere to coding standard.
>> 
>> Signed-off-by: Yuji Mano <yuji.mano at am.sony.com>
>> 
>> ---
>>  task/src/host/lib/task_queue.c |    3 ++-
>>  1 file changed, 2 insertions(+), 1 deletion(-)
>> 
>> --- a/task/src/host/lib/task_queue.c
>> +++ b/task/src/host/lib/task_queue.c
>> @@ -89,7 +89,8 @@ int mars_task_queue_create(struct mars_c
>>  		MARS_TASK_QUEUE_ALIGN, MARS_TASK_QUEUE_SIZE);
>>  
>>  	/* allocate queue buffer instance */
>> -	buffer_ea = mars_ea_memalign(MARS_TASK_QUEUE_BUFFER_ALIGN, size * depth);
>> +	buffer_ea = mars_ea_memalign(
>> +		MARS_TASK_QUEUE_BUFFER_ALIGN, size * depth);
> 
> Why not
> 
> 	buffer_ea = mars_ea_memalign(MARS_TASK_QUEUE_BUFFER_ALIGN,
> 				     size * depth);
Hi Geert.
Thanks for the comment.
I agree. I think I will include your suggestion in a more thorough cleanup of
all the code.
Regards,
Yuji
    
    
More information about the cbe-oss-dev
mailing list