]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita7c88eec2161b773e7a75f9adac5eef48753aa6b
treeb56ad975f2ea903ee58048c13b78705aadaec822
parent1645d34414dad3ff6c12180b58e32bc01fb4d989
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