Subject: Re: [4/4] cxl: sparse: Silence iomem warning in debugfs file creation

From: Michael Ellerman <[email-masked]>
Date: Thu, 13 Aug 2015 11:44:24 +1000 (AEST)

On Fri, 2015-07-08 at 03:18:20 UTC, Daniel Axtens wrote:
> An IO address, tagged with __iomem, is passed to debugfs_create_file
> as private data. This requires that it be cast to void *. The cast
> creates a sparse warning:
> /scratch/dja/linux-capi/drivers/misc/cxl/debugfs.c:51:57: warning: cast removes address space of expression
> 
> The address space marker is added back in the file operations
> (fops_io_u64).
> 
> Silence the warning with __force.
> 
> Signed-off-by: Daniel Axtens <[email-masked]>
> Acked-by: Michael Neuling <[email-masked]>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/83c3fee7e78f5a937b73

cheers