diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-03-25 15:37:35 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-05-13 19:23:53 +0300 |
commit | cc64f774b4acd4954abe54f5919f50d78aba1e5f (patch) | |
tree | 9b8058302b65896e1dcf2bdac408939680fcba2e /fs/ubifs/tnc_commit.c | |
parent | c43615702f9c5957981693a4d966ed81d8fc1ecc (diff) | |
download | linux-next-cc64f774b4acd4954abe54f5919f50d78aba1e5f.tar.gz |
UBIFS: 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 82ddcb040570411fc2d421d96b3e69711c670328.
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 UBIFS to use __packed, so let's do it.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/tnc_commit.c')
0 files changed, 0 insertions, 0 deletions