staging: spectra: off by one
authorVasiliy Kulikov <segooon@gmail.com>
Sun, 19 Sep 2010 12:54:40 +0000 (16:54 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 21 Sep 2010 00:03:41 +0000 (17:03 -0700)
commit340362abb9544043d41e047c63d86dffe990a48c
tree2cd8e4fc692cf75af450befb01bb61434c614a53
parentb1f5f54e91e30ecd5ac670edc8bb2c0ee5990d0f
staging: spectra: off by one

g_pBlockTable has only DeviceInfo.wDataBlockNum elements.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/spectra/flash.c