Re: [PATCH] memstick: fix unreachable state in h_msb_read_page() in ms_block.c

2013-11-02 Thread Maxim Levitsky
On Wed, 2013-10-30 at 15:54 +0800, rogera...@realtek.com wrote: > From: Roger Tseng > > In h_msb_read_page() in ms_block.c, flow never reaches case > MSB_RP_RECIVE_STATUS_REG. This causes error when MEMSTICK_INT_ERR is > encountered and status error bits are going to be examined, but the status

Re: [PATCH] memstick: fix unreachable state in h_msb_read_page() in ms_block.c

2013-11-02 Thread Maxim Levitsky
On Wed, 2013-10-30 at 15:54 +0800, rogera...@realtek.com wrote: From: Roger Tseng rogera...@realtek.com In h_msb_read_page() in ms_block.c, flow never reaches case MSB_RP_RECIVE_STATUS_REG. This causes error when MEMSTICK_INT_ERR is encountered and status error bits are going to be

[PATCH] memstick: fix unreachable state in h_msb_read_page() in ms_block.c

2013-10-30 Thread rogerable
From: Roger Tseng In h_msb_read_page() in ms_block.c, flow never reaches case MSB_RP_RECIVE_STATUS_REG. This causes error when MEMSTICK_INT_ERR is encountered and status error bits are going to be examined, but the status will never be copied back. Fix it by transiting to

[PATCH] memstick: fix unreachable state in h_msb_read_page() in ms_block.c

2013-10-30 Thread rogerable
From: Roger Tseng rogera...@realtek.com In h_msb_read_page() in ms_block.c, flow never reaches case MSB_RP_RECIVE_STATUS_REG. This causes error when MEMSTICK_INT_ERR is encountered and status error bits are going to be examined, but the status will never be copied back. Fix it by transiting to