Chaining "mtd_info->read" failed !
David Woodhouse
dwmw2 at infradead.org
Thu Feb 19 04:21:05 EST 2004
On Tue, 2004-02-17 at 22:49 -0500, Chagas, Jason wrote:
> Note, "my_read" simply chains the original 'read' function call in the
> "mtd_info" structure. Should have been simple enough, however, when
> accessing flash, "my_read" receives a series of repeated messages with
> exactly the same values in "loff_t from" and "size_t len" until the
> kernel hangs and the kernel heartbeat LED stops blinking. BTW, "size_t
> len" is equal to zero.
>
> Am I missing something? Any ideas?
Sounds like your function is calling itself recursively till it uses up
all the kernel stack and dies.
--
dwmw2
More information about the linux-mtd
mailing list