diff options
| author | Jinhui Guo <guojinhui.liam@bytedance.com> | 2025-11-20 23:47:25 +0800 |
|---|---|---|
| committer | Joerg Roedel <joerg.roedel@amd.com> | 2025-11-25 15:10:23 +0100 |
| commit | 2381a1b40be4b286062fb3cf67dd7f005692aa2a (patch) | |
| tree | 5d11a387ad4085afb9c858d49e7e23bbc382903b /tools/lib/python/kdoc/kdoc_files.py | |
| parent | 75ba146c2674ba49ed8a222c67f9abfb4a4f2a4f (diff) | |
iommu/amd: Propagate the error code returned by __modify_irte_ga() in modify_irte_ga()
The return type of __modify_irte_ga() is int, but modify_irte_ga()
treats it as a bool. Casting the int to bool discards the error code.
To fix the issue, change the type of ret to int in modify_irte_ga().
Fixes: 57cdb720eaa5 ("iommu/amd: Do not flush IRTE when only updating isRun and destination fields")
Cc: stable@vger.kernel.org
Signed-off-by: Jinhui Guo <guojinhui.liam@bytedance.com>
Reviewed-by: Vasant Hegde <vasant.hegde@amd.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions
