summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/ubifs.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-12-28 11:00:55 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-12-31 14:13:24 +0200
commit6a4a9b438fe43397f4652853838f284cddd629b5 (patch)
tree3a000f7fa5bfd18d98d632e82bb465a271d9cfb4 /fs/ubifs/ubifs.h
parent2acf80675800d5e6775990d1280cca5c2ffb30e6 (diff)
downloadop-kernel-dev-6a4a9b438fe43397f4652853838f284cddd629b5.zip
op-kernel-dev-6a4a9b438fe43397f4652853838f284cddd629b5.tar.gz
UBIFS: fix sparse warnings
fs/ubifs/compress.c:111:8: warning: incorrect type in argument 5 (different signedness) fs/ubifs/compress.c:111:8: expected unsigned int *dlen fs/ubifs/compress.c:111:8: got int *out_len fs/ubifs/compress.c:175:10: warning: incorrect type in argument 5 (different signedness) fs/ubifs/compress.c:175:10: expected unsigned int *dlen fs/ubifs/compress.c:175:10: got int *out_len Fix this by adding a cast to (unsigned int *). We guarantee that our lengths are small and no overflow is possible. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/ubifs.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud