OpenCloudOS-Kernel/drivers/scsi/fnic
Maurizio Lombardi fd6ddfa4c1 fnic: check pci_map_single() return value
the kernel prints some warnings when compiled with CONFIG_DMA_API_DEBUG.
This is because the fnic driver doesn't check the return value of
pci_map_single().

[   11.942770] scsi host12: fnic
[   11.950811] ------------[ cut here ]------------
[   11.950818] WARNING: at lib/dma-debug.c:937 check_unmap+0x47b/0x920()
[   11.950821] fnic 0000:0c:00.0: DMA-API: device driver failed to check map error[device address=0x0000002020a30040] [size=44 bytes] [mapped as single]

Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed By: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
2015-10-27 11:05:45 +09:00
..
Makefile [SCSI] fnic: Fnic Trace Utility 2013-02-22 17:32:07 +00:00
cq_desc.h
cq_enet_desc.h
cq_exch_desc.h
fcpio.h
fnic.h fnic: Use the local variable instead of I/O flag to acquire io_req_lock in fnic_queuecommand() to avoid deadloack 2015-08-18 08:11:23 -07:00
fnic_attrs.c
fnic_debugfs.c x86/mm: Decouple <linux/vmalloc.h> from <asm/io.h> 2015-06-03 12:02:00 +02:00
fnic_fcs.c fnic: check pci_map_single() return value 2015-10-27 11:05:45 +09:00
fnic_fip.h [SCSI] fnic: FIP VLAN Discovery Feature Support 2013-05-02 07:30:40 -07:00
fnic_io.h [SCSI] fnic: New debug flags and debug log messages 2013-02-22 17:31:09 +00:00
fnic_isr.c fnic: Use pci_enable_msix_exact() instead of pci_enable_msix() 2014-07-29 08:38:23 -04:00
fnic_main.c scsi: remove ->change_queue_type method 2014-12-04 09:55:45 +01:00
fnic_res.c
fnic_res.h
fnic_scsi.c fnic: check pci_map_single() return value 2015-10-27 11:05:45 +09:00
fnic_stats.h [SCSI] fnic: Fnic Statistics Collection 2013-10-25 09:57:57 +01:00
fnic_trace.c x86/mm: Decouple <linux/vmalloc.h> from <asm/io.h> 2015-06-03 12:02:00 +02:00
fnic_trace.h fnic: fnic Control Path Trace Utility 2014-05-19 13:33:00 +02:00
rq_enet_desc.h
vnic_cq.c
vnic_cq.h
vnic_cq_copy.h
vnic_dev.c [SCSI] fnic: FIP VLAN Discovery Feature Support 2013-05-02 07:30:40 -07:00
vnic_dev.h [SCSI] fnic: FIP VLAN Discovery Feature Support 2013-05-02 07:30:40 -07:00
vnic_devcmd.h [SCSI] fnic: FIP VLAN Discovery Feature Support 2013-05-02 07:30:40 -07:00
vnic_intr.c
vnic_intr.h
vnic_nic.h
vnic_resource.h
vnic_rq.c
vnic_rq.h
vnic_scsi.h [SCSI] fnic: fnic Driver Tuneables Exposed through CLI 2013-09-11 15:59:25 -07:00
vnic_stats.h
vnic_wq.c
vnic_wq.h
vnic_wq_copy.c
vnic_wq_copy.h
wq_enet_desc.h