All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 4/4] UBI WL-Subsys: Improvement in prot tree
@ 2008-12-09 11:46 ` xiaochuan-xu
  0 siblings, 0 replies; 9+ messages in thread
From: xiaochuan-xu @ 2008-12-09 11:46 UTC (permalink / raw)
  To: linux-mtd

>From e3af46580d374fc5da79212c17ef9f0179299bd0 Mon Sep 17 00:00:00 2001
From: Xiaochuan-Xu <xiaochuan-xu@cqu.edu.cn>
Date: Tue, 9 Dec 2008 19:27:40 +0800
Subject: [PATCH] Adjust severial macros

In order to fulfill the identical function of the currenty
prot RB-tree. *_PROTECTION macros are increased respectively

Signed-off-by: Xiaochuan-Xu <xiaochuan-xu@cqu.edu.cn>
---
 drivers/mtd/ubi/wl.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c
index 0b1e8c7..603435f 100644
--- a/drivers/mtd/ubi/wl.c
+++ b/drivers/mtd/ubi/wl.c
@@ -130,9 +130,9 @@
  * How many erase cycles are short term, unknown, and long term physical
  * eraseblocks protected.
  */
-#define ST_PROTECTION 16
-#define U_PROTECTION  10
-#define LT_PROTECTION 4
+#define ST_PROTECTION 17
+#define U_PROTECTION  11
+#define LT_PROTECTION 5
 
 /* Number of prot lists, must be bigger than 'ST_PROTECTION' */
 #define PROT_LISTS_LEN (ST_PROTECTION+1)
-- 
1.5.3.2


-- 
Yours sincerely
xiaochuan-xu(cqu.edu.cn)

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-12-16  6:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-09 11:46 [PATCH 4/4] UBI WL-Subsys: Improvement in prot tree xiaochuan-xu
2008-12-09 11:46 ` xiaochuan-xu
2008-12-09 13:03 ` Artem Bityutskiy
2008-12-10  4:52   ` xiaochuan-xu
2008-12-10  4:52     ` xiaochuan-xu
2008-12-10  8:44     ` Artem Bityutskiy
2008-12-10 13:11       ` xiaochuan-xu
2008-12-10 13:11         ` xiaochuan-xu
2008-12-10 13:35         ` Artem Bityutskiy
     [not found]       ` <1228913251.3655.10.camel@localhost.localdomain>
     [not found]         ` <1228931859.13686.350.camel@sauron>
     [not found]           ` <1228981865.2702.9.camel@localhost.localdomain>
     [not found]             ` <1229022841.13686.384.camel@sauron>
     [not found]               ` <1229332169.5306.1.camel@localhost.localdomain>
     [not found]                 ` <1229332781.13686.447.camel@sauron>
     [not found]                   ` <1229343610.2687.52.camel@localhost.localdomain>
     [not found]                     ` <1229343746.4911.2.camel@sauron>
     [not found]                       ` <1229347894.2687.56.camel@localhost.localdomain>
     [not found]                         ` <1229356809.4911.57.camel@sauron>
2008-12-16  2:33                           ` xiaochuan-xu
2008-12-16  2:33                             ` xiaochuan-xu
2008-12-16  2:48                           ` xiaochuan-xu
2008-12-16  2:48                             ` xiaochuan-xu
2008-12-16  6:36                             ` Artem Bityutskiy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.