Staging: comedi: adl_pci9118: Fix endian sparse warning
authorKsenija Stanojevic <ksenija.stanojevic@gmail.com>
Sat, 31 Oct 2015 13:36:44 +0000 (06:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
commit2aadecb60a33c791bfb729d65c158a22f636961a
tree2286de9ead24cd326a6bd9ec50800b564b792b20
parent212efdb1be77ae97e21afc35310f7f9c428f875c
Staging: comedi: adl_pci9118: Fix endian sparse warning

Fix following sparse warning:
warning: cast to restricted __be16

data is pointer of type void and can be used to store any type of data.
barray and array have the same 16 bit offset.

Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/adl_pci9118.c