summaryrefslogtreecommitdiff
path: root/yaffs_packedtags1.c
diff options
context:
space:
mode:
authorCharles Manning <cdhmanning@gmail.com>2011-01-13 13:21:47 +1300
committerCharles Manning <cdhmanning@gmail.com>2011-01-13 13:21:47 +1300
commit46eb953ecab322d3385ccf84c75d969de8542317 (patch)
treeef59001d4a8561827571c332a11fb51ed0d6d9bf /yaffs_packedtags1.c
parent05f5305b2d17b0e2889338724b864cf80f309437 (diff)
yaffs: Reformatting to be kernel friendly.
Passes checkpatch.pl Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'yaffs_packedtags1.c')
-rw-r--r--yaffs_packedtags1.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/yaffs_packedtags1.c b/yaffs_packedtags1.c
index a77f095..873f065 100644
--- a/yaffs_packedtags1.c
+++ b/yaffs_packedtags1.c
@@ -25,15 +25,15 @@ void yaffs_pack_tags1(struct yaffs_packed_tags1 *pt,
pt->deleted = (t->is_deleted) ? 0 : 1;
pt->unused_stuff = 0;
pt->should_be_ff = 0xFFFFFFFF;
-
}
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
+ static const u8 all_ff[12] = {
+ 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff
};
if (memcmp(all_ff, pt, sizeof(struct yaffs_packed_tags1))) {