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> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| mic_boot.c | ||
| mic_debugfs.c | ||
| mic_device.h | ||
| mic_fops.c | ||
| mic_fops.h | ||
| mic_intr.c | ||
| mic_intr.h | ||
| mic_main.c | ||
| mic_smpt.c | ||
| mic_smpt.h | ||
| mic_sysfs.c | ||
| mic_virtio.c | ||
| mic_virtio.h | ||
| mic_x100.c | ||
| mic_x100.h | ||