[PATCH] mtd: nand: use more reasonable integer types
Artem Bityutskiy
dedekind1 at gmail.com
Thu Mar 14 03:52:24 EDT 2013
On Wed, 2013-03-13 at 14:05 +0200, Artem Bityutskiy wrote:
> From: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
>
> Use 'unsigned int' instead of 'unsigned long' in the NAND chip description data
> structure, because 32-bits is more than enough for our purposes. We do not need
> 64-bits, which is what we end up on 64-bit architectures. We declare many
> instances of this data structure, so this should help saving some amount of
> memory.
>
> Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
Pushed to l2-mtd.git.
--
Best Regards,
Artem Bityutskiy
More information about the linux-mtd
mailing list