failed write verify causes segmentation fault

Thomas Gleixner tglx at
Wed Mar 16 14:36:23 EST 2005

On Wed, 2005-03-16 at 15:08 +0300, Artem B. Bityuckiy wrote:
> I don't see any reason why the NULL dereferencing might happen after the
> "jffs2_flash_writev(): Non-contiguous write to.." output. BUG()
> should be called instead.

>From include/asm-arm/bug.h
#define BUG()           (*(int *)0 = 0)

This is a NULL pointer dereference.


More information about the linux-mtd mailing list