aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-10-21 10:00:55 +0200
committerChristoph Hellwig <hch@lst.de>2021-12-07 12:50:10 +0100
commit78bc72787ab9e638173aeb1f589578105d3a43c9 (patch)
treee1d30b5422e8b38ced4093470f29174b7e6bc5d6 /drivers/platform/x86/intel/pmt/class.c
parent955f58f7406ad912825fc344c7825fd904b124a0 (diff)
downloadlinux-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