projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs: Change all hex values to lower case
[yaffs2.git]
/
yaffs_guts.c
diff --git
a/yaffs_guts.c
b/yaffs_guts.c
index 2fcb80b24929f825ae3f8f346a815ca2aa735c36..403ce11bb2cea2a0022ca496beec118f7fa0e1e8 100644
(file)
--- a/
yaffs_guts.c
+++ b/
yaffs_guts.c
@@
-323,7
+323,7
@@
int yaffs_check_ff(u8 *buffer, int n_bytes)
{
/* Horrible, slow implementation */
while (n_bytes--) {
{
/* Horrible, slow implementation */
while (n_bytes--) {
- if (*buffer != 0x
FF
)
+ if (*buffer != 0x
ff
)
return 0;
buffer++;
}
return 0;
buffer++;
}
@@
-3316,9
+3316,9
@@
int yaffs_update_oh(struct yaffs_obj *in, const YCHAR *name, int force,
yaffs_verify_oh(in, oh, &old_tags, 0);
memcpy(old_name, oh->name, sizeof(oh->name));
yaffs_verify_oh(in, oh, &old_tags, 0);
memcpy(old_name, oh->name, sizeof(oh->name));
- memset(buffer, 0x
FF
, sizeof(struct yaffs_obj_hdr));
+ memset(buffer, 0x
ff
, sizeof(struct yaffs_obj_hdr));
} else {
} else {
- memset(buffer, 0x
FF
, dev->data_bytes_per_chunk);
+ memset(buffer, 0x
ff
, dev->data_bytes_per_chunk);
}
oh->type = in->variant_type;
}
oh->type = in->variant_type;