diff options
author | Charles Manning <cdhmanning@gmail.com> | 2010-11-03 15:02:10 +1300 |
---|---|---|
committer | Charles Manning <cdhmanning@gmail.com> | 2010-11-03 15:02:43 +1300 |
commit | 3ecea787c3d99a5e13bf3b826dd3ad772fbad810 (patch) | |
tree | 2d92b2ea8d4086fd606d8cca99514c7fe63b6ab7 /yaffs_packedtags1.c | |
parent | a8016f937633b0d356be4d2195d93f1742a3de0d (diff) |
yaffs: Redo Lindent
Only applies to Linux files.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'yaffs_packedtags1.c')
-rw-r--r-- | yaffs_packedtags1.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/yaffs_packedtags1.c b/yaffs_packedtags1.c index 9055512..a77f095 100644 --- a/yaffs_packedtags1.c +++ b/yaffs_packedtags1.c @@ -14,7 +14,8 @@ #include "yaffs_packedtags1.h" #include "yportenv.h" -void yaffs_pack_tags1(struct yaffs_packed_tags1 *pt, const struct yaffs_ext_tags *t) +void yaffs_pack_tags1(struct yaffs_packed_tags1 *pt, + const struct yaffs_ext_tags *t) { pt->chunk_id = t->chunk_id; pt->serial_number = t->serial_number; @@ -27,11 +28,13 @@ void yaffs_pack_tags1(struct yaffs_packed_tags1 *pt, const struct yaffs_ext_tags } -void yaffs_unpack_tags1(struct yaffs_ext_tags *t, const struct yaffs_packed_tags1 *pt) +void yaffs_unpack_tags1(struct yaffs_ext_tags *t, + const struct yaffs_packed_tags1 *pt) { static const u8 all_ff[] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, -0xff }; + 0xff + }; if (memcmp(all_ff, pt, sizeof(struct yaffs_packed_tags1))) { t->block_bad = 0; |