misc: mic: Suppress memory space sparse warnings
authorAshutosh Dixit <ashutosh.dixit@intel.com>
Wed, 27 Nov 2013 16:58:43 +0000 (08:58 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Nov 2013 19:08:30 +0000 (11:08 -0800)
commit1a9286236916bb397c0fa7e9b3a354c291c85beb
tree3e774ae1202e2a93521ce09f7af24e1ad7b15cd3
parent173c07278763850bfee57eec442dce38855d6f13
misc: mic: Suppress memory space sparse warnings

MIC card and host drivers are able to use virtio over the PCIe bus by
treating ioremap return values for the prefetchable BARs as pointers,
effectively treating I/O memory the same as system memory. However this
results in sparse warnings. Knowing that these warnings do not point to
a functional issue, this patch suppresses these warnings.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Reviewed-by: Sudeep Dutt <sudeep.dutt@intel.com>
Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mic/card/mic_virtio.c
drivers/misc/mic/host/mic_virtio.c