Re: [sparc] Weird ioctl() bug in 2.2.19 (fwd)

Alex Buell (alex.buell@tahallah.demon.co.uk)
Thu, 1 Nov 2001 13:19:49 +0000 (GMT)


On Thu, 1 Nov 2001, Paul Mackerras wrote:

> > Anyway, I can fix it now by adding the appropriate AFMT_S16_BE statement
> > guarded by a #ifdef but this sucks. Thanks to Peter Jones who spotted this
> > one.
>
> Why can't you just use AFMT_S16_NE on all platforms? That is supposed
> to be equal to AFMT_S16_BE on big-endian platforms and to AFMT_S16_LE
> on little-endian platforms. NE == native endian.

Ah, is that what it does. OK, I'll carefully suggest to the authors of ESD
(preferably with a blunt trauma instrument) using AFMT_S16_NE. Thanks.

-- 
Come the revolution, humourless gits'll be first up against the wall.

http://www.tahallah.demon.co.uk

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/