diff options
author | Christoph Hellwig <hch@lst.de> | 2021-10-21 10:00:55 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-12-07 12:50:10 +0100 |
commit | 78bc72787ab9e638173aeb1f589578105d3a43c9 (patch) | |
tree | e1d30b5422e8b38ced4093470f29174b7e6bc5d6 /drivers/platform/x86/intel/pmt/class.c | |
parent | 955f58f7406ad912825fc344c7825fd904b124a0 (diff) | |
download | linux-78bc72787ab9e638173aeb1f589578105d3a43c9.tar.gz linux-78bc72787ab9e638173aeb1f589578105d3a43c9.tar.bz2 linux-78bc72787ab9e638173aeb1f589578105d3a43c9.zip |
dma-direct: warn if there is no pool for force unencrypted allocations
Instead of blindly running into a blocking operation for a non-blocking gfp,
return NULL and spew an error. Note that Kconfig prevents this for all
currently relevant platforms, and this is just a debug check.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions