From: Dirk Behme Date: Tue, 22 Feb 2011 19:04:19 +0000 (-0500) Subject: UDF: Fix compiler warning X-Git-Tag: v2.6.39-rc1~444^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f644e5f97cc8dcb8dc7133562159cc20d27c38f;p=pandora-kernel.git UDF: Fix compiler warning Fix compiler warning fs/udf/balloc.c: In function 'udf_bitmap_new_block': fs/udf/balloc.c:273: warning: passing argument 1 of '_find_next_bit_le' from incompatible pointer type fs/udf/balloc.c:285: warning: passing argument 1 of '_find_next_bit_le' from incompatible pointer type fs/udf/balloc.c:311: warning: passing argument 1 of '_find_next_bit_le' from incompatible pointer type fs/udf/balloc.c:325: warning: passing argument 1 of '_find_next_bit_le' from incompatible pointer type The main fix is to add a cast in ext2_find_next_bit(). As all other usage locations of udf_find_next_one_bit() directly use bh->b_data (which is a char *), the useless (char *) cast in line 311 can be removed, too. Signed-off-by: Dirk Behme Signed-off-by: George G. Davis Signed-off-by: Jan Kara --- Reading git-diff-tree failed