diff options
author | Maurizio Lombardi <mlombard@redhat.com> | 2015-08-12 17:00:23 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-10-27 11:05:45 +0900 |
commit | fd6ddfa4c1ddfb4a149b31845144b4cf3cbef54d (patch) | |
tree | 846c774cf5b9bbb0a1991c4770bac1435d76d6ed /drivers/scsi/scsi_devinfo.c | |
parent | c4f39bdaf40e2651f4fb3e6944e05166f1ab1d38 (diff) | |
download | lwn-fd6ddfa4c1ddfb4a149b31845144b4cf3cbef54d.tar.gz lwn-fd6ddfa4c1ddfb4a149b31845144b4cf3cbef54d.zip |
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>
Diffstat (limited to 'drivers/scsi/scsi_devinfo.c')
0 files changed, 0 insertions, 0 deletions