[PATCH v2 3/3][MTD] P4080/mtd: Fix the freescale lbc issue with 36bit mode

Timur Tabi timur.tabi at gmail.com
Mon Sep 13 14:36:45 EDT 2010


On Mon, Sep 13, 2010 at 11:45 AM, Artem Bityutskiy <dedekind1 at gmail.com> wrote:
> Unsigned int is reliably >= 4 in Linux.

Not exactly.  sizeof(unsigned int) is effectively never greater than 4
in Linux (I think it's still 32 bits even on a 64-bit kernel), so it
makes no sense to say >=.  So since you can't say that sizeof(int) ==
4, and you can't say that sizeof(int) > 4, then you certainly can't
say that sizeof(int) >= 4.

-- 
Timur Tabi
Linux kernel developer at Freescale



More information about the linux-mtd mailing list