Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219913
b: refs/heads/master
c: 340362a
h: refs/heads/master
i:
  219911: 651dd35
v: v3
  • Loading branch information
Vasiliy Kulikov authored and Greg Kroah-Hartman committed Sep 21, 2010
1 parent 7c8369e commit 40a0fbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b1f5f54e91e30ecd5ac670edc8bb2c0ee5990d0f
refs/heads/master: 340362abb9544043d41e047c63d86dffe990a48c
2 changes: 1 addition & 1 deletion trunk/drivers/staging/spectra/flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -1604,7 +1604,7 @@ static int get_l2_cache_blks(void)

for (n = 0; n < BLK_NUM_FOR_L2_CACHE; n++) {
blk = find_least_worn_blk_for_l2_cache();
if (blk > DeviceInfo.wDataBlockNum) {
if (blk >= DeviceInfo.wDataBlockNum) {
nand_dbg_print(NAND_DBG_WARN,
"find_least_worn_blk_for_l2_cache: "
"No enough free NAND blocks (n: %d) for L2 Cache!\n", n);
Expand Down

0 comments on commit 40a0fbf

Please sign in to comment.