diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-10-01 11:56:28 -0400 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-10-01 11:56:28 -0400 |
| commit | e74df751a16b075e48046e1b26ce05c28e7ad662 (patch) | |
| tree | 591ff2ed665ee702ace3fea05860d447f301c17d /kernel | |
| parent | 8512314069a9f222d96606aa05449e13f0343a0e (diff) | |
| download | open-iov-e74df751a16b075e48046e1b26ce05c28e7ad662.tar.gz open-iov-e74df751a16b075e48046e1b26ce05c28e7ad662.zip | |
gsp-phys: key the NOCAT summary on the truncated strings
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/gsp_phys_booter.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/kernel/gsp_phys_booter.c b/kernel/gsp_phys_booter.c index 19abbce..ad37831 100644 --- a/kernel/gsp_phys_booter.c +++ b/kernel/gsp_phys_booter.c @@ -1985,8 +1985,10 @@ static void gsp_phys_nocat_accumulate(u8 rec_type, u64 error_code, slot->error_code == error_code && slot->subsystem == subsystem && slot->bugcheck == bugcheck && - strcmp(slot->source, source) == 0 && - strcmp(slot->faulting_engine, faulting_engine) == 0) { + strncmp(slot->source, source, + GSP_PHYS_NOCAT_SUMMARY_STR - 1) == 0 && + strncmp(slot->faulting_engine, faulting_engine, + GSP_PHYS_NOCAT_SUMMARY_STR - 1) == 0) { slot->count++; slot->last_seq = seq; return; |
