]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8288d253f9838b3530394fff84e4f0ed826e9e23
tree3e774ae1202e2a93521ce09f7af24e1ad7b15cd3
parentb737318e93fec953fa986b1415ba7f68b7cb0de3
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