projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs Added more tests to direct/timothy_tests/mirror_tests
[yaffs2.git]
/
yaffs_guts.c
diff --git
a/yaffs_guts.c
b/yaffs_guts.c
index b49f0184cc83a632a11f6fb4e3d6d7ac0ed05ad9..f4ae9deed727bb968a3db3db393a69e4986915db 100644
(file)
--- a/
yaffs_guts.c
+++ b/
yaffs_guts.c
@@
-296,7
+296,7
@@
static void yaffs_handle_chunk_wr_error(struct yaffs_dev *dev, int nand_chunk,
* Simple hash function. Needs to have a reasonable spread
*/
* Simple hash function. Needs to have a reasonable spread
*/
-static
Y_INLINE
int yaffs_hash_fn(int n)
+static
inline
int yaffs_hash_fn(int n)
{
n = abs(n);
return n % YAFFS_NOBJECT_BUCKETS;
{
n = abs(n);
return n % YAFFS_NOBJECT_BUCKETS;