lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 23 Apr 2019 10:08:00 -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 Tue, 23 Apr 2019 08:31:08 +0200, Jiri Pirko wrote:
> Mon, Apr 22, 2019 at 09:23:38PM CEST, jakub.kicinski@...ronome.com wrote:
> >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 ?  
> 
> Sure, but this is remove in patch 15. Is it necessary?

Oh, I missed that.

Powered by blists - more mailing lists