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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <08d52675-f308-4ebb-4ec4-f6c7ac0b6b06@gmail.com>
Date:   Wed, 7 Nov 2018 21:52:31 +0100
From:   Heiner Kallweit <hkallweit1@...il.com>
To:     Florian Fainelli <f.fainelli@...il.com>,
        Andrew Lunn <andrew@...n.ch>,
        David Miller <davem@...emloft.net>
Cc:     "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: [PATCH net-next 0/2] net: phy: use phy_id_mask value zero for exact
 match

A phy_id_mask value zero means every PHYID matches, therefore
value zero isn't used. So we can safely redefine the semantics
of value zero to mean "exact match". This allows to avoid some
boilerplate code in PHY driver configs.

Realtek PHY driver is the first user of this change.

Heiner Kallweit (2):
  net: phy: use phy_id_mask value zero for exact match
  net: phy: realtek: remove boilerplate code from PHY driver definitions

 drivers/net/phy/phy_device.c | 21 +++++++++++++++------
 drivers/net/phy/realtek.c    |  9 ---------
 include/linux/phy.h          |  2 +-
 3 files changed, 16 insertions(+), 16 deletions(-)

-- 
2.19.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ