diff options
author | Kukkonen Mika <mika.kukkonen@nokia.com> | 2008-12-02 09:32:49 (GMT) |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-12-03 11:14:11 (GMT) |
commit | 5dd7cbc083f3a91fa7454125fe992826701b67bc (patch) | |
tree | db21827920cd91fd4da1115f1eea3bb99eca38b4 /fs/ocfs2 | |
parent | 553dea4dd531562688ba01c641c7f8fc7abaaf8c (diff) | |
download | linux-5dd7cbc083f3a91fa7454125fe992826701b67bc.tar.xz |
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/ocfs2')
0 files changed, 0 insertions, 0 deletions