sfc: Warn if unable to create MTDs
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 27 Jan 2012 17:23:58 +0000 (17:23 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Mon, 13 Feb 2012 23:40:50 +0000 (23:40 +0000)
commit7c43161c11d7f40e38db9a1adb61347f06127796
treeb56ad975f2ea903ee58048c13b78705aadaec822
parent5b6262d0ccf759a16fabe11d904a2531125a4b71
sfc: Warn if unable to create MTDs

Log an explicit warning if we are unable to create MTDs for a net
device.  Also correct the comment about why mtd_device_register() may
fail; there is no longer an MTD table to fill up.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/mtd.c