[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180705.142412.238281898262839575.davem@davemloft.net>
Date: Thu, 05 Jul 2018 14:24:12 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: treeze.taeung@...il.com
Cc: ast@...nel.org, daniel@...earbox.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, qinteng@...com
Subject: Re: [PATCH v2 2/4] samples/bpf: Check the result of system()
From: Taeung Song <treeze.taeung@...il.com>
Date: Wed, 4 Jul 2018 22:36:37 +0900
> To avoid the below build warning message,
> use new generate_load() checking the return value.
>
> ignoring return value of ‘system’, declared with attribute warn_unused_result
>
> And it also refactors the duplicate code of both
> test_perf_event_all_cpu() and test_perf_event_task()
>
> Cc: Teng Qin <qinteng@...com>
> Signed-off-by: Taeung Song <treeze.taeung@...il.com>
Acked-by: David S. Miller <davem@...emloft.net>
Powered by blists - more mailing lists