[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190422122338.3e1049a4@cakuba.netronome.com>
Date: Mon, 22 Apr 2019 12:23:38 -0700
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: Jiri Pirko <jiri@...nulli.us>
Cc: netdev@...r.kernel.org, davem@...emloft.net, mlxsw@...lanox.com,
dsahern@...il.com
Subject: Re: [patch net-next v2 08/16] netdevsim: add bus attributes to add
new and delete devices
On Sat, 20 Apr 2019 12:29:14 +0200, Jiri Pirko wrote:
> - err = ida_alloc(&nsim_bus_dev_ids, GFP_KERNEL);
> + err = ida_alloc_range(&nsim_bus_dev_ids,
> + id == ~0 ? 0 : id, id, GFP_KERNEL);
#define for ~0 ?
Powered by blists - more mailing lists