staging: comedi: fix cast warning in comedi_compat32.c
authorGeliang Tang <geliangtang@163.com>
Mon, 22 Jun 2015 15:33:42 +0000 (23:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jul 2015 01:21:15 +0000 (18:21 -0700)
commit0f73490e20261dbf543744bb3dc1ae6d6af0d80f
tree5dca3229d3c328b1b57c526a1256825fed541823
parent58a06a2a64930ad11cc398b0b00ae9817b9a821a
staging: comedi: fix cast warning in comedi_compat32.c

This patch fixes the following sparse warning:

drivers/staging/comedi/comedi_compat32.c:205:16: warning: cast removes
address space of expression

Signed-off-by: Geliang Tang <geliangtang@163.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedi_compat32.c