diff options
author | Brian Norris <computersforpeace@gmail.com> | 2014-07-22 04:07:22 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-08-19 20:53:08 +0200 |
commit | 31f754628cbb12c983600f22d9f0fed50dfe2134 (patch) | |
tree | 19bd679ef67164098b937b9a0ef5b66c4310598b /drivers/mtd/mtdswap.c | |
parent | mtd: tests: fix integer overflow issues (diff) | |
download | linux-31f754628cbb12c983600f22d9f0fed50dfe2134.tar.xz linux-31f754628cbb12c983600f22d9f0fed50dfe2134.zip |
mtd: use __packed shorthand
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/mtdswap.c')
-rw-r--r-- | drivers/mtd/mtdswap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtdswap.c b/drivers/mtd/mtdswap.c index 48cf6f98df44..fc8b3d16cce7 100644 --- a/drivers/mtd/mtdswap.c +++ b/drivers/mtd/mtdswap.c @@ -145,7 +145,7 @@ struct mtdswap_dev { struct mtdswap_oobdata { __le16 magic; __le32 count; -} __attribute__((packed)); +} __packed; #define MTDSWAP_MAGIC_CLEAN 0x2095 #define MTDSWAP_MAGIC_DIRTY (MTDSWAP_MAGIC_CLEAN + 1) |