linux-sg2042/include/mtd
Artem Bityutskiy 3627924acf UBI: use __packed instead of __attribute__((packed))
There was an attempt to standartize various "__attribute__" and
other macros in order to have potentially portable and more
consistent code, see commit 82ddcb0405.

Note, that commit refers Rober Love's blog post, but the URL
is broken, the valid URL is:
http://blog.rlove.org/2005/10/with-little-help-from-your-compiler.html

Moreover, nowadays checkpatch.pl warns about using
__attribute__((packed)):

"WARNING: __packed is preferred over __attribute__((packed))"

It is not a big deal for UBI to use __packed, so let's do it.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2011-04-14 11:34:41 +03:00
..
Kbuild Kill jffs2-user.h 2009-06-05 17:31:38 +01:00
inftl-user.h make MTD headers use strict integer types 2009-03-26 18:14:17 +01:00
mtd-abi.h mtd: Define MLC Flash as a different flash type 2010-10-25 00:50:20 +01:00
mtd-user.h mtd: nand: expand nand_ecc_layout, deprecate ioctl ECCGETLAYOUT 2010-10-24 23:37:24 +01:00
nftl-user.h mtd: Update copyright notices 2010-08-08 20:58:20 +01:00
ubi-user.h UBI: use __packed instead of __attribute__((packed)) 2011-04-14 11:34:41 +03:00