diff options
author | Dan Carpenter <error27@gmail.com> | 2022-12-07 18:56:09 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2022-12-12 12:05:56 +0100 |
commit | 462e768b55a2331324ff72e74706261134369826 (patch) | |
tree | a65019b2471c951932d8e69a24970089dc0c498e /mm/page_vma_mapped.c | |
parent | 00ef8885a945c37551547d8ac8361cacd20c4e42 (diff) |
iommu/mediatek: Fix forever loop in error handling
There is a typo so this loop does i++ where i-- was intended. It will
result in looping until the kernel crashes.
Fixes: 26593928564c ("iommu/mediatek: Add error path for loop of mm_dts_parse")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Yong Wu <yong.wu@mediatek.com>
Link: https://lore.kernel.org/r/Y5C3mTam2nkbaz6o@kili
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'mm/page_vma_mapped.c')
0 files changed, 0 insertions, 0 deletions