diff options
author | Christoph Hellwig <hch@lst.de> | 2018-12-03 07:43:05 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-12-13 21:06:15 +0100 |
commit | 58dfd4ac022037c6a562e92fc6d2a778819b2162 (patch) | |
tree | 1512b1fca977f2d2e9daacb690150a3c4e339f80 /drivers/fmc | |
parent | 68c608345cc569bcfa1c1b2add4c00c343ecf933 (diff) |
dma-direct: improve addressability error reporting
Only report report a DMA addressability report once to avoid spewing the
kernel log with repeated message. Also provide a stack trace to make it
easy to find the actual caller that caused the problem.
Last but not least move the actual check into the fast path and only
leave the error reporting in a helper.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Tested-by: Jesper Dangaard Brouer <brouer@redhat.com>
Tested-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'drivers/fmc')
0 files changed, 0 insertions, 0 deletions