User error with fw_printenv - I hope
Bishop, Mark
Mark.Bishop at cooperindustries.com
Tue Apr 3 17:46:16 EDT 2012
> -----Original Message-----
> From: Mike Frysinger [mailto:vapier.adi at gmail.com]
> Sent: Tuesday, April 03, 2012 3:22 PM
> To: Bishop, Mark
> Cc: linux-mtd at lists.infradead.org
> Subject: Re: User error with fw_printenv - I hope
>
> On Tue, Apr 3, 2012 at 08:59, Bishop, Mark wrote:
> > I don't have a print_loff_t(). I have a ioctl_decode() instead and I
> am trying to cram your patch into it.
>
> all the print_loff_t does is process a pointer to an int. you could
> probably do the same thing by changing the mtd.c file to process the
> int directly (look at the other ioctls that do umove() with &i).
> -mike
Any idea what is causing this:
/home/mark/new_image/uclinux-dist/user/strace/strace-4.6/mtd.c: In function ‘mtd_ioctl’:
/home/mark/new_image/uclinux-dist/user/strace/strace-4.6/mtd.c:102: warning: implicit declaration of function ‘tprints’
/home/mark/new_image/uclinux-dist/user/strace/strace-4.6/mtd.c:106: error: expected ‘)’ before ‘PRIx32’
/home/mark/new_image/uclinux-dist/user/strace/strace-4.6/mtd.c:107: warning: conversion lacks type at end of format
/home/mark/new_image/uclinux-dist/user/strace/strace-4.6/mtd.c:108: error: expected ‘)’ before ‘PRIx32’
.....
More information about the linux-mtd
mailing list