Skip to content
Commit 4ab7e05d authored by Laurence Rochfort's avatar Laurence Rochfort Committed by Greg Kroah-Hartman
Browse files

staging: gasket: Fix sparse "incorrect type in assignment" warnings.



Remove the coherent buffer __iomem cookie because the buffer is
allocated from dma_alloc_coherent().

warning: incorrect type in assignment (different address spaces)
   expected unsigned char [noderef] [usertype] <asn:2>*virt_base
   got void *[assigned] mem
warning: incorrect type in argument 3 (different address spaces)
   expected void *cpu_addr
   got unsigned char [noderef] [usertype] <asn:2>*virt_base

Signed-off-by: default avatarLaurence Rochfort <laurence.rochfort@gmail.com>
Reviewed-by: default avatarTodd Poynor <toddpoynor@google.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8ae925f0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment