Re: ioremap return type

From: David Woodhouse (dwmw2@redhat.com)
Date: Thu Aug 10 2000 - 06:55:46 EST


prumpf@parcelfarce.linux.theplanet.co.uk said:
> Oh, that might also be an opportune time to stop using [bwl] and
> start using {8,16,32} instead - especially as we might actually see
> x86 machines with long as 8 bytes.

I'll second that. It would allow a gradual conversion too, rather than
breaking all drivers in one fell swoop.

>From include/linux/mtd/map.h:

        __u32 (*read32)(struct map_info *, unsigned long);
        /* If it returned a 'long' I'd call it readl.
         * It doesn't.
         * I won't.
         * dwmw2 */

--
dwmw2

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



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:23 EST