staging: slicoss: Remove dma_addr_t cast compilation warnings
authorJoe Perches <joe@perches.com>
Wed, 27 Feb 2013 00:33:11 +0000 (16:33 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Mar 2013 16:24:00 +0000 (09:24 -0700)
commit01d0a9b474661831cd1ee5d88d5ee3fb80b55a7a
tree0cb85caae3393412204807ef5bb2312d1293b939
parent0f1bf4baf61ca426a210bf3c98263957fa474158
staging: slicoss: Remove dma_addr_t cast compilation warnings

Eliminate some warnings by casting to unsigned long before
casting a dma_addr_t value to a pointer.

btw:

Does slicoss always work on x86-32?
Is a pshmem guaranteed to be accessible
by a 32 bit address?

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/slicoss/slicoss.c