]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Use kzalloc() to ensure struct efx_spi_device is fully initialised
authorBen Hutchings <bhutchings@solarflare.com>
Sat, 13 Dec 2008 06:08:50 +0000 (22:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Dec 2008 06:08:50 +0000 (22:08 -0800)
commit64bcf53b2bb79735ac634215f425f1f07dcdc3a1
treea3ab165d88e117e7a36e168aea2cb27e314a9de9
parentcd36cab2bd1dc3fdf5b0f41c4ed3315a92568b29
sfc: Use kzalloc() to ensure struct efx_spi_device is fully initialised

Currently the mtd field is not initialised early enough.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/falcon.c