diff options
author | Wolfgang Denk <wd@denx.de> | 2011-09-08 02:10:20 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-09-10 00:00:25 +0200 |
commit | fa00e0324cc93e5cffa959718c9cab359ebe6289 (patch) | |
tree | 204012aa5c2f75f37bbe3eae937b826ed1d105bb /fs/yaffs2 | |
parent | 9d0265e9bb3f5c2bc45c1372bf8dae870c0644fe (diff) | |
download | u-boot-fa00e0324cc93e5cffa959718c9cab359ebe6289.tar.gz u-boot-fa00e0324cc93e5cffa959718c9cab359ebe6289.tar.bz2 u-boot-fa00e0324cc93e5cffa959718c9cab359ebe6289.zip |
YAFFS2: fs/yaffs2/yaffs_nand.[hc] - fix build warnings
Fix these:
yaffs_guts.c: In function 'yaffs_Scan':
yaffs_guts.c:5436: warning: pointer targets in passing argument 4 of 'yaffs_QueryInitialBlockState' differ in signedness
yaffs_guts.c: In function 'yaffs_ScanBackwards':
yaffs_guts.c:6017: warning: pointer targets in passing argument 4 of 'yaffs_QueryInitialBlockState' differ in signedness
yaffs_nand.c: In function 'yaffs_QueryInitialBlockState':
yaffs_nand.c:109: warning: pointer targets in passing argument 4 of 'dev->queryNANDBlock' differ in signedness
yaffs_nand.c:113: warning: pointer targets in passing argument 4 of 'yaffs_TagsCompatabilityQueryNANDBlock' differ in signedness
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'fs/yaffs2')
-rw-r--r-- | fs/yaffs2/yaffs_nand.c | 2 | ||||
-rw-r--r-- | fs/yaffs2/yaffs_nand.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/yaffs2/yaffs_nand.c b/fs/yaffs2/yaffs_nand.c index e790be61a5..ce048cc185 100644 --- a/fs/yaffs2/yaffs_nand.c +++ b/fs/yaffs2/yaffs_nand.c @@ -101,7 +101,7 @@ int yaffs_MarkBlockBad(yaffs_Device * dev, int blockNo) int yaffs_QueryInitialBlockState(yaffs_Device * dev, int blockNo, yaffs_BlockState * state, - unsigned *sequenceNumber) + int *sequenceNumber) { blockNo -= dev->blockOffset; diff --git a/fs/yaffs2/yaffs_nand.h b/fs/yaffs2/yaffs_nand.h index 48e3f7ec6d..f3bedcf35c 100644 --- a/fs/yaffs2/yaffs_nand.h +++ b/fs/yaffs2/yaffs_nand.h @@ -33,7 +33,7 @@ int yaffs_MarkBlockBad(yaffs_Device * dev, int blockNo); int yaffs_QueryInitialBlockState(yaffs_Device * dev, int blockNo, yaffs_BlockState * state, - unsigned *sequenceNumber); + int *sequenceNumber); int yaffs_EraseBlockInNAND(struct yaffs_DeviceStruct *dev, int blockInNAND); |