]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit79a565050f8f94d148352fb73bb2d1cadebcfa89
tree0cb85caae3393412204807ef5bb2312d1293b939
parent7d634b45725a81852d64d6c8e085e42bb3cdc388
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