From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-iw0-f170.google.com (mail-iw0-f170.google.com [209.85.214.170]) by ozlabs.org (Postfix) with ESMTP id AD4C6B70A8 for ; Tue, 14 Sep 2010 04:37:20 +1000 (EST) Received: by iwn37 with SMTP id 37so6167026iwn.15 for ; Mon, 13 Sep 2010 11:37:19 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1284396320.1783.30.camel@brekeke> References: <1284027632-32573-1-git-send-email-tie-fei.zang@freescale.com> <1284027632-32573-2-git-send-email-tie-fei.zang@freescale.com> <1284027632-32573-3-git-send-email-tie-fei.zang@freescale.com> <20100909114153.GB6622@oksana.dev.rtsoft.ru> <3850A844E6A3854C827AC5C0BEC7B60A1FC158@zch01exm23.fsl.freescale.net> <1284388075.10955.51.camel@localhost> <1284396320.1783.30.camel@brekeke> From: Timur Tabi Date: Mon, 13 Sep 2010 13:36:45 -0500 Message-ID: Subject: Re: [PATCH v2 3/3][MTD] P4080/mtd: Fix the freescale lbc issue with 36bit mode To: dedekind1@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Cc: Wood Scott-B07421 , Zang Roy-R61911 , Lan Chunhe-B25806 , linuxppc-dev@ozlabs.org, linux-mtd@lists.infradead.org, akpm@linux-foundation.org, dwmw2@infradead.org, Gala Kumar-B11780 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Sep 13, 2010 at 11:45 AM, Artem Bityutskiy 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