diff options
| author | Steffen Eiden <seiden@linux.ibm.com> | 2026-08-12 17:55:19 +0200 |
|---|---|---|
| committer | Claudio Imbrenda <imbrenda@linux.ibm.com> | 2026-09-02 18:50:42 +0200 |
| commit | d12ce6bce5ec5175c3581e01c71e7a5abb286d9b (patch) | |
| tree | 28401112cab914f70bf950cfc4f97c74a45f919d /scripts/Makefile.thinlto | |
| parent | 65e05ec252a9b79e75930d3c4dd42d8877db04c5 (diff) | |
| download | linux-next-d12ce6bce5ec5175c3581e01c71e7a5abb286d9b.tar.gz linux-next-d12ce6bce5ec5175c3581e01c71e7a5abb286d9b.zip | |
s390/uv: Fix loop condition in uv_find_secrets
Systems with more than 85 UV secrets got -ENOENT for any secret past the
first page.
Fix this by setting the start index at the beginning of the loop in
uv_find_secret() and not at the end. First test if there are more
secrets left by comparing start_idx with list->next_secret_idx, and then
set the start index to the next secret index.
Fixes: 7c9137af2042 ("s390/uv: Retrieve UV secrets support")
Acked-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Reviewed-by: Christoph Schlameuss <schlameuss@linux.ibm.com>
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Message-ID: <20260812-uv_secrets_fix-v3-1-a85bd29e0666@linux.ibm.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
