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_bitmap.c | |
parent | a8016f937633b0d356be4d2195d93f1742a3de0d (diff) |
yaffs: Redo Lindent
Only applies to Linux files.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'yaffs_bitmap.c')
-rw-r--r-- | yaffs_bitmap.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/yaffs_bitmap.c b/yaffs_bitmap.c index d54a27a..5d1cfb2 100644 --- a/yaffs_bitmap.c +++ b/yaffs_bitmap.c @@ -21,21 +21,21 @@ static Y_INLINE u8 *yaffs_block_bits(struct yaffs_dev *dev, int blk) { if (blk < dev->internal_start_block || blk > dev->internal_end_block) { T(YAFFS_TRACE_ERROR, - (TSTR("**>> yaffs: BlockBits block %d is not valid" TENDSTR), - blk)); + (TSTR("**>> yaffs: BlockBits block %d is not valid" TENDSTR), + blk)); YBUG(); } return dev->chunk_bits + - (dev->chunk_bit_stride * (blk - dev->internal_start_block)); + (dev->chunk_bit_stride * (blk - dev->internal_start_block)); } void yaffs_verify_chunk_bit_id(struct yaffs_dev *dev, int blk, int chunk) { if (blk < dev->internal_start_block || blk > dev->internal_end_block || - chunk < 0 || chunk >= dev->param.chunks_per_block) { + chunk < 0 || chunk >= dev->param.chunks_per_block) { T(YAFFS_TRACE_ERROR, - (TSTR("**>> yaffs: Chunk Id (%d:%d) invalid"TENDSTR), - blk, chunk)); + (TSTR("**>> yaffs: Chunk Id (%d:%d) invalid" TENDSTR), + blk, chunk)); YBUG(); } } @@ -102,4 +102,3 @@ int yaffs_count_chunk_bits(struct yaffs_dev *dev, int blk) } return n; } - |