xfs: make compile warn about char sign mismatches again
authorDave Chinner <david@fromorbit.com>
Tue, 19 Jan 2010 23:49:18 +0000 (10:49 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 19 Jan 2010 23:49:18 +0000 (10:49 +1100)
The -fno-unsigned-char directive has no effect anymore as the
XFs build is clean. However, the kernel build hides pointer sign
differences so turn that back on so that we can clean up all the
mismatches prior to a userspace code resync.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/Makefile

index 56641fe..1926701 100644 (file)
@@ -16,7 +16,7 @@
 # Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #
 
-EXTRA_CFLAGS +=         -I$(src) -I$(src)/linux-2.6 -funsigned-char
+EXTRA_CFLAGS +=         -I$(src) -I$(src)/linux-2.6 -Wpointer-sign
 
 XFS_LINUX := linux-2.6