cxgb4: Fix t4_flash_erase_sectors() to throw an error when requested to erase sectors...
authorHariprasad Shenai <hariprasad@chelsio.com>
Wed, 10 Sep 2014 12:14:29 +0000 (17:44 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Sep 2014 21:01:54 +0000 (14:01 -0700)
commitc0d5b8cf50c9842d0efcfb14871e58f42c6576e6
treec0310b6f380bde6b9355d08657a3a5bccabba138
parentfe2ee139aa295936e2bf6b7c620624d871c65058
cxgb4: Fix t4_flash_erase_sectors() to throw an error when requested to erase sectors which aren't in the FLASH

Based on original work by Casey Leedom <leedom@chelsio.com>

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c