sfc: mtd: Use MTD_FAIL_ADDR_UNKNOWN instead of 0xffffffff
authorShmulik Ladkani <shmulik.ladkani@gmail.com>
Sun, 12 Feb 2012 09:13:08 +0000 (11:13 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 26 Mar 2012 23:34:54 +0000 (00:34 +0100)
commit88dfda5f7463ce73f14f4eaf275284047f367570
tree2488e6ebc30e07501fa9774d64ee538268657158
parent4de034787251e872f5eded7cfeb3fde094da633a
sfc: mtd: Use MTD_FAIL_ADDR_UNKNOWN instead of 0xffffffff

As of bb0eb217, MTD_FAIL_ADDR_UNKNOWN should be used to indicate mtd
erase failure not specific to any particular block.

Use MTD_FAIL_ADDR_UNKNOWN instead of 0xffffffff when setting
'erase->fail_addr' in 'efx_mtd_erase()'.

Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Acked-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/net/ethernet/sfc/mtd.c