Thread (4 messages) 4 messages, 4 authors, 2011-06-22

Re: [PATCH] powerpc/85xx: fix NAND_CMD_READID read bytes number

From: Kumar Gala <hidden>
Date: 2011-06-22 11:09:07

On Jun 12, 2011, at 9:23 PM, Shaohui Xie wrote:
when nand_get_flash_type() is called, it will read 8 bytes of ID =
instead of 5,
but the driver only read 5 bytes, so kernel will dump error messages =
like:
=20
fsl-lbc ffe124000.localbus: read_byte beyond end of buffer
fsl-lbc ffe124000.localbus: read_byte beyond end of buffer
fsl-lbc ffe124000.localbus: read_byte beyond end of buffer
=20
Signed-off-by: Shaohui Xie <redacted>
Acked-by: Scott Wood <redacted>
---
drivers/mtd/nand/fsl_elbc_nand.c |    6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
applied to merge

- k=
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help