diff options
author | Kukkonen Mika <mika.kukkonen@nokia.com> | 2008-12-02 10:32:49 +0100 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-12-03 12:14:11 +0100 |
commit | 5dd7cbc083f3a91fa7454125fe992826701b67bc (patch) | |
tree | db21827920cd91fd4da1115f1eea3bb99eca38b4 /fs/ubifs/orphan.c | |
parent | UBIFS: introduce compression mount options (diff) | |
download | linux-5dd7cbc083f3a91fa7454125fe992826701b67bc.tar.xz linux-5dd7cbc083f3a91fa7454125fe992826701b67bc.zip |
UBIFS: avoid unnecessary checks
I have a habit of compiling kernel with
EXTRA_CFLAGS="-Wextra -Wno-unused -Wno-sign-compare -Wno-missing-field-initializers"
and so fs/ubifs/key.h give lots (~10) of these every time:
CC fs/ubifs/tnc_misc.o
In file included from fs/ubifs/ubifs.h:1725,
from fs/ubifs/tnc_misc.c:30:
fs/ubifs/key.h: In function 'key_r5_hash':
fs/ubifs/key.h:64: warning: comparison of unsigned expression >= 0 is always true
fs/ubifs/key.h: In function 'key_test_hash':
fs/ubifs/key.h:81: warning: comparison of unsigned expression >= 0 is always true
This patch fixes the warnings.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/orphan.c')
0 files changed, 0 insertions, 0 deletions