https://github.com/torvalds/linux
Revision 125d128bec1bbf81be4c198243334a6153c0b023 authored by Kumar Gala on 09 November 2005, 18:13:11 UTC, committed by Jeff Garzik on 11 November 2005, 13:26:58 UTC
To ensure that phy_mask and any future elements of the mii_bus
structure are initialized use kzalloc() instead of kmalloc().

This fixes an issue in which phy_mask was not being initialized
and we would skip random phy addresses when scanning.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
1 parent 1387780
History
Tip revision: 125d128bec1bbf81be4c198243334a6153c0b023 authored by Kumar Gala on 09 November 2005, 18:13:11 UTC
[PATCH] gianfar mii needs to zero out the mii_bus structure
Tip revision: 125d128
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 391 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.2 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 61.1 KB
Makefile -rw-r--r-- 42.5 KB
README -rw-r--r-- 14.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top