[Yaffs] [PATCH] Fix order of block state names

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
+ (text/html)
このメッセージを削除
このメッセージに返信
著者: Cory Wiltshire
日付:  
To: yaffs
題目: [Yaffs] [PATCH] Fix order of block state names
YAFFS_BLOCK_STATE_SCANNING is defined before YAFFS_BLOCK_STATE_NEEDS_SCAN
in the enum definition for yaffs_block_state in yaffs_guts.h
This fixes the block_state_name array in yaffs_verify.c to match.
---
yaffs_verify.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/yaffs_verify.c b/yaffs_verify.c
index 9141eb5..8bfed19 100644
--- a/yaffs_verify.c
+++ b/yaffs_verify.c
@@ -37,8 +37,8 @@ static int yaffs_skip_nand_verification(struct yaffs_dev
*dev)

 static const char * const block_state_name[] = {
        "Unknown",
-       "Needs scan",
        "Scanning",
+       "Needs scan",
        "Empty",
        "Allocating",
        "Full",
--
2.17.1


--


________
This email and any attachments may contain Astranis confidential
and/or proprietary information governed by a non-disclosure agreement, and
are intended solely for the individual or entity specified by the message.