projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs: Replace YBUG() with BUG()
[yaffs2.git]
/
yaffs_bitmap.c
diff --git
a/yaffs_bitmap.c
b/yaffs_bitmap.c
index dc673e8430f20e8c0d956132333d5a93453cdcb1..55c721360464692e135c41e5137b5993b9b5e434 100644
(file)
--- a/
yaffs_bitmap.c
+++ b/
yaffs_bitmap.c
@@
-23,7
+23,7
@@
static inline u8 *yaffs_block_bits(struct yaffs_dev *dev, int blk)
yaffs_trace(YAFFS_TRACE_ERROR,
"BlockBits block %d is not valid",
blk);
yaffs_trace(YAFFS_TRACE_ERROR,
"BlockBits block %d is not valid",
blk);
-
Y
BUG();
+ BUG();
}
return dev->chunk_bits +
(dev->chunk_bit_stride * (blk - dev->internal_start_block));
}
return dev->chunk_bits +
(dev->chunk_bit_stride * (blk - dev->internal_start_block));
@@
-36,7
+36,7
@@
void yaffs_verify_chunk_bit_id(struct yaffs_dev *dev, int blk, int chunk)
yaffs_trace(YAFFS_TRACE_ERROR,
"Chunk Id (%d:%d) invalid",
blk, chunk);
yaffs_trace(YAFFS_TRACE_ERROR,
"Chunk Id (%d:%d) invalid",
blk, chunk);
-
Y
BUG();
+ BUG();
}
}
}
}