diff options
author | Josh Boyer <jwboyer@fedoraproject.org> | 2015-12-03 08:27:59 -0500 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2015-12-10 12:57:04 -0500 |
commit | c965853ab06b3e8a9d024d86730b373c333fc6f3 (patch) | |
tree | 5c0c359d604d20684c3769338e56fdf9b94bedca /drivers/hwmon/scpi-hwmon.c | |
parent | 21891a452a42afc2313f1e3a69040e46c1d068c1 (diff) | |
download | linux-stable-c965853ab06b3e8a9d024d86730b373c333fc6f3.tar.gz linux-stable-c965853ab06b3e8a9d024d86730b373c333fc6f3.tar.bz2 linux-stable-c965853ab06b3e8a9d024d86730b373c333fc6f3.zip |
VMW_PVSCSI: Fix the issue of DMA-API related warnings.
The driver is missing calls to pci_dma_mapping_error() after
performing the DMA mapping, which caused DMA-API warning to
show up in dmesg's output. Though that happens only when
DMA_API_DEBUG option is enabled. This change fixes the issue
and makes pvscsi_map_buffers() function more robust.
Signed-off-by: Arvind Kumar <arvindkumar@vmware.com>
Cc: Josh Boyer <jwboyer@fedoraproject.org>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/hwmon/scpi-hwmon.c')
0 files changed, 0 insertions, 0 deletions