[PATCH 0/8] xfs: clean up pointer sign differences

Dave Chinner
2010-01-19T00:29:37Z

This patch series cleans up all the pointer sign warnings when they
are turned back on in the XFS build. These are the kernel
equivalents of the libxfs changes I posted a last week. On
Christoph's suggestion, I've made the changes for the kernel code so
that we can fix the libxfs warnings simply by resyncing the userspce
code with the kernel code.

Hence this makes all of the directory and attribute names and values
unsigned chars and uses that consistently within XFS. The on disk
formats are all unsigned, but the VFS is a mix of signed and
unsigned interfaces.

The series converts all the names and values at the highest
level to unsigned so the rest of the code doesn't need to juggle
different signedness. It cleans up all the places where we have
cast pointers, makes all functions take unsigned strings and so on.

Finally, it turns on the pointer sign warnings again (which are
actually turned off globally in the build) so that we don't
reintroduce new problems due to a lack of warnings being produced by
the compiler.