diff options
author | Kukkonen Mika <mika.kukkonen@nokia.com> | 2008-12-02 11:32:49 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-12-03 13:14:11 +0200 |
commit | 5dd7cbc083f3a91fa7454125fe992826701b67bc (patch) | |
tree | db21827920cd91fd4da1115f1eea3bb99eca38b4 /fs/ubifs/tnc_commit.c | |
parent | 553dea4dd531562688ba01c641c7f8fc7abaaf8c (diff) | |
download | kernel_samsung_aries-5dd7cbc083f3a91fa7454125fe992826701b67bc.zip kernel_samsung_aries-5dd7cbc083f3a91fa7454125fe992826701b67bc.tar.gz kernel_samsung_aries-5dd7cbc083f3a91fa7454125fe992826701b67bc.tar.bz2 |
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/tnc_commit.c')
0 files changed, 0 insertions, 0 deletions