diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2016-11-10 07:05:31 -0500 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad@kernel.org> | 2016-11-10 15:56:19 -0500 |
commit | d29fa0cb7602fa3e96c9eee05e14d14d3e823c89 (patch) | |
tree | 1bf24161f9f990f0377bff4d3da4c609a8abaa29 /lib/string.c | |
parent | 0443fa003fa199f41bfbed3012f314d02c5b1f24 (diff) | |
download | linux-stable-d29fa0cb7602fa3e96c9eee05e14d14d3e823c89.tar.gz linux-stable-d29fa0cb7602fa3e96c9eee05e14d14d3e823c89.tar.bz2 linux-stable-d29fa0cb7602fa3e96c9eee05e14d14d3e823c89.zip |
swiotlb: Minor fix-ups for DMA_ATTR_SKIP_CPU_SYNC support
I am updating the paths so that instead of trying to pass
"attr | DMA_ATTR_SKIP_CPU_SYNC" we instead just OR the value into attr and
then pass it since attr will not be used after we make the unmap call.
I realized there was one spot I had missed when I was applying the DMA
attribute to the DMA mapping exception handling. This change corrects that.
Finally it looks like there is a stray blank line at the end of the
swiotlb_unmap_sg_attrs function that can be dropped.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad@kernel.org>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions