mtd: ndfc: silence an array underflow static checker warning
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 31 Jul 2014 15:36:20 +0000 (18:36 +0300)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 19 Aug 2014 18:53:05 +0000 (11:53 -0700)
commit5828c60826e9422169b3711aa58a583242864cc8
tree466d1dbaa3f8c45eb0fc930db912c80c6f182676
parent7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9
mtd: ndfc: silence an array underflow static checker warning

We check "cs" for array overflows but we don't check for underflows and
it upsets the static checkers.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/ndfc.c