diff options
author | 2018-05-12 11:57:37 +0200 | |
---|---|---|
committer | 2018-05-12 11:57:37 +0200 | |
commit | 05e13bb57e6f181d7605f8608181c7e6fb7f591d (patch) | |
tree | 4a8d1f2ab2e4f1393c57bb3e83467e5ef825ad8b /lib/test_overflow.c | |
parent | Linux 4.17-rc4 (diff) | |
download | linux-dev-05e13bb57e6f181d7605f8608181c7e6fb7f591d.tar.xz linux-dev-05e13bb57e6f181d7605f8608181c7e6fb7f591d.zip |
swiotlb: silent unwanted warning "buffer is full"
If DMA_ATTR_NO_WARN is passed to swiotlb_alloc_buffer(), it should be
passed further down to swiotlb_tbl_map_single(). Otherwise we escape
half of the warnings but still log the other half.
This is one of the multiple causes of spurious warnings reported at:
https://bugs.freedesktop.org/show_bug.cgi?id=104082
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Fixes: 0176adb00406 ("swiotlb: refactor coherent buffer allocation")
Cc: Christoph Hellwig <hch@lst.de>
Cc: Christian König <christian.koenig@amd.com>
Cc: Michel Dänzer <michel@daenzer.net>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: stable@vger.kernel.org # v4.16
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions