diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-09-28 12:05:43 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-09-28 13:55:51 +0300 |
commit | aadf7c81a0771b8f1c97dabca6a48bae1b387779 (patch) | |
tree | 2f1d4d47a7c0bb0be55cc0640e792f2808dea361 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b9b5948cdd7bc8d9fa31c78cbbb04382c815587f (diff) |
ath11k: fix some sleeping in atomic bugs
The ath11k_dbring_bufs_replenish() and ath11k_dbring_fill_bufs()
take a "gfp" parameter but they since they take spinlocks, the
allocations they do have to be atomic. This causes a bug because
ath11k_dbring_buf_setup passes GFP_KERNEL for the gfp flags.
The fix is to use GFP_ATOMIC and remove the unused parameters.
Fixes: bd6478559e27 ("ath11k: Add direct buffer ring support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210812070434.GE31863@kili
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions