From: Roger Tseng Date: Tue, 12 Nov 2013 23:11:40 +0000 (-0800) Subject: drivers/memstick/core/ms_block.c: fix unreachable state in h_msb_read_page() X-Git-Tag: v3.13-rc1~106^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0e5a12fd18d47aa87a7a8c60ca5bc422b136564;p=pandora-kernel.git drivers/memstick/core/ms_block.c: fix unreachable state in h_msb_read_page() 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 transitioning to MSB_RP_RECIVE_STATUS_REG right after MSB_RP_SEND_READ_STATUS_REG. Signed-off-by: Roger Tseng Acked-by: Maxim Levitsky Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed