diff options
| author | 2023-10-12 09:40:44 +0200 | |
|---|---|---|
| committer | 2023-10-23 18:21:22 +0200 | |
| commit | f67c2da9f1c2d56e3adab342fc39c00c0c5ec790 (patch) | |
| tree | 7ba036c152dcc105b2377e27bbf9f754bd535b14 /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | s390/mm,fault: improve readability by using teid union (diff) | |
s390/mm,fault: use get_kernel_nofault() to dereference in dump_pagetable()
The page table dumper uses get_kernel_nofault() to test if dereferencing
page table entries is possible. Use the result, which is the required page
table entry, instead of throwing it away and dereferencing a second time
without any safe guard.
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
