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] [day] [month] [year] [list]
Date:   Wed, 22 Apr 2020 12:20:17 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     hkallweit1@...il.com
Cc:     andrew@...n.ch, f.fainelli@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 0/2] net: phy: add device-managed
 devm_mdiobus_register

From: Heiner Kallweit <hkallweit1@...il.com>
Date: Mon, 20 Apr 2020 23:28:19 +0200

> If there's no special ordering requirement for mdiobus_unregister(),
> then driver code can be simplified by using a device-managed version
> of mdiobus_register(). Prerequisite is that bus allocation has been
> done device-managed too. Else mdiobus_free() may be called whilst
> bus is still registered, resulting in a BUG_ON(). Therefore let
> devm_mdiobus_register() return -EPERM if bus was allocated
> non-managed.
> 
> First user of the new functionality is r8169 driver.

Series applied, thanks Heiner.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ