[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200901111608.5f56264d@carbon>
Date: Tue, 1 Sep 2020 11:16:08 +0200
From: Jesper Dangaard Brouer <brouer@...hat.com>
To: Björn Töpel <bjorn.topel@...il.com>
Cc: ast@...nel.org, daniel@...earbox.net, bpf@...r.kernel.org,
Björn Töpel <bjorn.topel@...el.com>,
magnus.karlsson@...el.com, netdev@...r.kernel.org, toke@...hat.com,
dsahern@...il.com, brouer@...hat.com
Subject: Re: [PATCH bpf-next v2] bpf: {cpu,dev}map: change various functions
return type from int to void
On Tue, 1 Sep 2020 10:39:28 +0200
Björn Töpel <bjorn.topel@...il.com> wrote:
> From: Björn Töpel <bjorn.topel@...el.com>
>
> The functions bq_enqueue(), bq_flush_to_queue(), and bq_xmit_all() in
> {cpu,dev}map.c always return zero. Changing the return type from int
> to void makes the code easier to follow.
>
> Suggested-by: David Ahern <dsahern@...il.com>
> Signed-off-by: Björn Töpel <bjorn.topel@...el.com>
> ---
> kernel/bpf/cpumap.c | 11 +++--------
> kernel/bpf/devmap.c | 15 +++++++--------
> 2 files changed, 10 insertions(+), 16 deletions(-)
Thanks for the cleanup! :-)
Acked-by: Jesper Dangaard Brouer <brouer@...hat.com>
--
Best regards,
Jesper Dangaard Brouer
MSc.CS, Principal Kernel Engineer at Red Hat
LinkedIn: http://www.linkedin.com/in/brouer
Powered by blists - more mailing lists