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

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Cory Wiltshire
Date:  
To: yaffs
Old-Topics: [Yaffs] [PATCH] Fix order of block state names
Subject: Re: [Yaffs] [PATCH] Fix order of block state names
ping

On Mon, Jun 15, 2020 at 10:41 PM Cory Wiltshire <> wrote:

> 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.