User error with fw_printenv - I hope

Bishop, Mark Mark.Bishop at cooperindustries.com
Tue Apr 3 11:59:56 EDT 2012


I don't have a print_loff_t().  I have a ioctl_decode() instead and I am trying to cram your patch into it.

I'll get back to you when I get something that works.

> -----Original Message-----
> From: Mike Frysinger [mailto:vapier.adi at gmail.com]
> Sent: Tuesday, April 03, 2012 2:26 AM
> To: Bishop, Mark
> Cc: linux-mtd at lists.infradead.org
> Subject: Re: User error with fw_printenv - I hope
> 
> On Mon, Apr 2, 2012 at 13:37, Bishop, Mark wrote:
> > ioctl(3, MEMGETBADBLOCK, 0x2dffb9c)     = 1 ioctl(3, MEMGETBADBLOCK,
> > 0x2dffb9c)     = -1 EINVAL (Invalid argument)
> 
> be nice to see what's actually in those pointers.  update your strace
> with the attached patch and try again.
> -mike


More information about the linux-mtd mailing list