aboutsummaryrefslogtreecommitdiff
path: root/include/linux/led-class-multicolor.h
diff options
context:
space:
mode:
authorGravatar Robin Murphy <robin.murphy@arm.com> 2022-07-12 08:46:45 +0200
committerGravatar Christoph Hellwig <hch@lst.de> 2022-07-12 08:47:31 +0200
commitc51ba246cb172c9e947dc6fb8868a1eaf0b2a913 (patch)
tree7481c5b7cb344f9f23fff070c8a02d9e58b9f2e3 /include/linux/led-class-multicolor.h
parentARM/dma-mapping: merge IOMMU ops (diff)
downloadlinux-c51ba246cb172c9e947dc6fb8868a1eaf0b2a913.tar.gz
linux-c51ba246cb172c9e947dc6fb8868a1eaf0b2a913.tar.bz2
linux-c51ba246cb172c9e947dc6fb8868a1eaf0b2a913.zip
swiotlb: fail map correctly with failed io_tlb_default_mem
In the failure case of trying to use a buffer which we'd previously failed to allocate, the "!mem" condition is no longer sufficient since io_tlb_default_mem became static and assigned by default. Update the condition to work as intended per the rest of that conversion. Fixes: 463e862ac63e ("swiotlb: Convert io_default_tlb_mem to static allocation") Signed-off-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux/led-class-multicolor.h')
0 files changed, 0 insertions, 0 deletions