Error: Wacky! Unable to decode failure status

Thayne Harbaugh tharbaugh at lnxi.com
Tue May 6 10:37:31 EDT 2003


On Tue, 2003-05-06 at 00:50, David Woodhouse wrote:

> > +#ifdef CFIDEV_BUSWIDTH_8
> > +        __u64 ones = 0;
> > +#else
> >          __u32 ones = 0;
> > +#endif
> 
> cfi_word is there to prevent these ifdefs.

Thanks for the hint.

> > +        if ( CFIDEV_BUSWIDTH == CFIDEV_BUSWIDTH_1 ) {
> 
> Use cfi_buswidth_is_1() et al. Then the compiler really will be able to
> optimise them out in the appropriate cases.

Already had this one changed to cfi_buswidth_is_?().

I'll likely commit something today - I'm checking out a problem that has
mysteriously fixed itself 8-/

-- 
Thayne Harbaugh
Linux Networx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20030506/829731f9/attachment.bin 


More information about the linux-mtd mailing list