Brian Norris
36c6a7ac74
mtd: cfi_cmdset_0002: allow retry/timeout loop to exit
...
The variable 'retries' is never modified, so if the reset operation
never is going to complete, we'll get stuck in an infinite loop.
It looks like the intention was to decrement 'retries' on every loop.
Untested.
Caught by Coverity.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2014-08-19 11:53:07 -07:00
..
2014-08-19 11:53:07 -07:00
2014-08-19 11:53:07 -07:00
2014-05-26 10:38:25 -07:00
2014-08-19 11:53:05 -07:00
2014-08-19 11:53:07 -07:00
2014-07-13 07:35:14 +09:00
2014-08-19 11:53:06 -07:00
2014-04-17 22:22:03 -07:00
2014-07-28 19:07:33 +03:00
2014-01-03 11:22:22 -08:00
2014-01-03 11:22:22 -08:00
2014-03-10 22:42:29 -07:00
2014-01-03 11:22:22 -08:00
2014-07-02 15:17:15 -07:00
2014-07-14 18:41:20 -07:00
2013-10-27 16:27:06 -07:00
2014-03-10 22:42:22 -07:00
2014-04-14 11:22:58 -07:00
2014-04-14 11:23:01 -07:00
2014-06-11 08:35:34 -07:00
2013-11-06 23:32:59 -08:00
2013-11-06 23:32:59 -08:00
2014-05-20 16:35:29 -07:00
2012-03-27 01:02:24 +01:00
2014-07-08 18:38:16 -07:00
2013-04-05 13:16:54 +01:00
2012-11-15 15:37:51 +02:00
2014-07-08 18:38:29 -07:00
2013-11-06 23:32:59 -08:00
2014-08-19 11:53:07 -07:00
2013-10-27 16:27:06 -07:00
2012-01-09 18:25:48 +00:00
2014-01-03 11:22:22 -08:00
2014-01-03 11:22:22 -08:00
2014-03-10 22:42:25 -07:00
2014-03-10 22:42:21 -07:00
2010-10-25 01:33:08 +01:00
2013-10-27 16:27:06 -07:00