https://github.com/torvalds/linux
Revision 64b1c2b42b555ef38c475d104f2faf3f6f93690d authored by Herbert Valerio Riedel on 10 May 2006, 16:12:57 UTC, committed by Stephen Hemminger on 10 May 2006, 21:03:57 UTC
make sure phy_map entries whose PHY address is masked are initialized
to NULL, given that other code (such as mdiobus_unregister for
instance) assumes that non-NULL phy_map entries are allocated
phy_devices

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
1 parent f4ea431
History
Tip revision: 64b1c2b42b555ef38c475d104f2faf3f6f93690d authored by Herbert Valerio Riedel on 10 May 2006, 16:12:57 UTC
phy: mdiobus_register(): initialize all phy_map entries
Tip revision: 64b1c2b
File Mode Size
keys
selinux
Kconfig -rw-r--r-- 3.3 KB
Makefile -rw-r--r-- 599 bytes
capability.c -rw-r--r-- 2.8 KB
commoncap.c -rw-r--r-- 9.5 KB
dummy.c -rw-r--r-- 23.6 KB
inode.c -rw-r--r-- 9.3 KB
root_plug.c -rw-r--r-- 3.9 KB
seclvl.c -rw-r--r-- 17.1 KB
security.c -rw-r--r-- 5.5 KB

back to top