diff options
| author | Huacai Chen <[email protected]> | 2025-05-14 14:17:43 +0000 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2025-05-14 14:17:43 +0000 |
| commit | 90436d234230e9a950ccd87831108b688b27a234 (patch) | |
| tree | 2998090089cd414454dd801e34df8f8c668e5f25 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | LoongArch: Prevent cond_resched() occurring within kernel-fpu (diff) | |
| download | kernel-90436d234230e9a950ccd87831108b688b27a234.tar.gz kernel-90436d234230e9a950ccd87831108b688b27a234.zip | |
LoongArch: Fix MAX_REG_OFFSET calculation
Fix MAX_REG_OFFSET calculation, make it point to the last register
in 'struct pt_regs' and not to the marker itself, which could allow
regs_get_register() to return an invalid offset.
Cc: [email protected]
Fixes: 803b0fc5c3f2baa6e5 ("LoongArch: Add process management")
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
