[PATCH 2.6] clean-up: fixes "unsigned<0" warning

From: Riina Kikas
Date: Mon Dec 06 2004 - 15:48:14 EST


This patch fixes warning "comparison of unsigned expression < 0 is always false"
occuring on line 110

Signed-off-by: Riina Kikas <Riina.Kikas@xxxxxxx>

--- 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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/