diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2025-07-18 15:04:58 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-07-22 12:06:00 +0000 |
| commit | 343f8ef4bca603a6a280812c4c6597825fcc63c5 (patch) | |
| tree | d213da8d163bfa6e393c711e3ab7960374b6211d /pkg/email/lore/parse.go | |
| parent | af30dea9cea0f95c6651fb7ce092f68eedfaec48 (diff) | |
syz-cluster: remember LKML series tags
Sometimes the patch series directly hint at the kernel tree they should
be applied to. Extract and remember this information.
Diffstat (limited to 'pkg/email/lore/parse.go')
| -rw-r--r-- | pkg/email/lore/parse.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/email/lore/parse.go b/pkg/email/lore/parse.go index 98152b408..9d1a010f5 100644 --- a/pkg/email/lore/parse.go +++ b/pkg/email/lore/parse.go @@ -29,6 +29,7 @@ type Series struct { MessageID string Version int Corrupted string // If non-empty, contains a reason why the series better be ignored. + Tags []string Patches []Patch } @@ -74,6 +75,7 @@ func PatchSeries(emails []*email.Email) []*Series { Subject: patch.Title, MessageID: thread.MessageID, Version: patch.Version.ValueOr(1), + Tags: patch.Tags, } ret = append(ret, series) if patch.Seq.IsSet() && patch.Seq.Value() > 1 { |
