From: Riina Kikas <riinak@ut.ee>
To: linux-kernel@vger.kernel.org
Cc: mroos@ut.ee
Subject: [PATCH 2.6] clean-up: fixes "unsigned<0" warning
Date: Mon, 6 Dec 2004 22:47:09 +0200 (EET) [thread overview]
Message-ID: <Pine.SOC.4.61.0412062244480.21075@math.ut.ee> (raw)
This patch fixes warning "comparison of unsigned expression < 0 is always false"
occuring on line 110
Signed-off-by: Riina Kikas <Riina.Kikas@mail.ee>
--- a/fs/ntfs/collate.c 2004-10-18 21:54:55.000000000 +0000
+++ b/fs/ntfs/collate.c 2004-12-04 13:25:02.000000000 +0000
@@ -109,7 +109,6 @@
*/
BUG_ON(cr != COLLATION_BINARY && cr != COLLATION_NTOFS_ULONG);
i = le32_to_cpu(cr);
- BUG_ON(i < 0);
if (i <= 0x02)
return ntfs_do_collate0x0[i](vol, data1, data1_len,
data2, data2_len);
next reply other threads:[~2004-12-06 20:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-06 20:47 Riina Kikas [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-12-06 20:59 Riina Kikas
2004-12-06 20:48 [PATCH 2.6] clean-up: fixes "unsigned>=0" warning Riina Kikas
2004-12-06 21:03 ` Chris Friesen
2004-12-06 21:25 ` Riina Kikas
2004-12-06 20:44 [PATCH 2.6] clean-up: fixes "unsigned<0" warning Riina Kikas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.SOC.4.61.0412062244480.21075@math.ut.ee \
--to=riinak@ut.ee \
--cc=linux-kernel@vger.kernel.org \
--cc=mroos@ut.ee \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®