diff options
| author | Joerg Roedel <[email protected]> | 2020-05-04 14:54:10 +0200 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2020-05-05 14:38:38 +0200 |
| commit | 5b8a9a047b6cad361405c7900c1e1cdd378c4589 (patch) | |
| tree | afd742da1aaa04a89564517705f3dd106327c40c /lib/test_fortify/write_overflow-strscpy.c | |
| parent | eb791aa70b90c559eeb371d807c8813d569393f0 (diff) | |
iommu/amd: Do not loop forever when trying to increase address space
When increase_address_space() fails to allocate memory, alloc_pte()
will call it again until it succeeds. Do not loop forever while trying
to increase the address space and just return an error instead.
Signed-off-by: Joerg Roedel <[email protected]>
Tested-by: Qian Cai <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strscpy.c')
0 files changed, 0 insertions, 0 deletions