lkml.org 
[lkml]   [2022]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] rtla/utils: Use calloc and check the potential memory allocation failure
On Fri, 8 Jul 2022 14:37:22 +0200
Daniel Bristot de Oliveira <bristot@kernel.org> wrote:

> On 6/15/22 09:33, jianchunfu wrote:
> > Replace malloc with calloc and add memory allocating check
> > of mon_cpus before used.
> >
> > Fixes: 7d0dc9576dc3 ("rtla/timerlat: Add --dma-latency option")
> > Signed-off-by: jianchunfu <jianchunfu@cmss.chinamobile.com>
>
> Acked-by: Daniel Bristot de Oliveira <bristot@kernel.org>
>

Applied, thanks jianchunfu and Daniel!

-- Steve

\
 
 \ /
  Last update: 2022-07-12 03:18    [W:0.075 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site