xfs: annotate user variables passed as void
authorDave Chinner <dchinner@redhat.com>
Mon, 29 Sep 2014 00:46:22 +0000 (10:46 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 29 Sep 2014 00:46:22 +0000 (10:46 +1000)
commitb972d0797180d8414351d9dc8ff65071c692d058
tree5152c41bd107c7401dcd5bb58fb5df1723801c2a
parente3aed1a08190c038c4ea41b73ea6f07bc0e3290c
xfs: annotate user variables passed as void

Some argument callbacks can contain user buffers, and sparse warns
about passing them as void pointers. Cast appropriately to remove
the sparse warnings.

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