aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorSuravee Suthikulpanit <[email protected]>2022-03-13 21:43:21 -0500
committerJoerg Roedel <[email protected]>2022-05-04 10:32:11 +0200
commit5edde870d3283edeaa27ab62ac4fac5ee8cae35a (patch)
treed8adaaf61e3a5436dd02c2cbb9734fec8b8f8204 /include/linux/fpga/fpga-mgr.h
parentaf2d861d4cd2a4da5137f795ee3509e6f944a25b (diff)
iommu/amd: Do not call sleep while holding spinlock
Smatch static checker warns: drivers/iommu/amd/iommu_v2.c:133 free_device_state() warn: sleeping in atomic context Fixes by storing the list of struct device_state in a temporary list, and then free the memory after releasing the spinlock. Reported-by: Dan Carpenter <[email protected]> Fixes: 9f968fc70d85 ("iommu/amd: Improve amd_iommu_v2_exit()") Signed-off-by: Suravee Suthikulpanit <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions