aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/subsystem/linux/rules.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-11-11 03:20:49 +0100
committerAleksandr Nogikh <nogikh@google.com>2023-11-22 13:37:46 +0000
commit03e12510535a17bacc1346348437ae99fd98efd7 (patch)
treef595b0048eab05392def77ce871de8b403f66cb0 /pkg/subsystem/linux/rules.go
parent7fd9c93a8ce52264c1c63d8ee0ea0f17c4d6fec1 (diff)
pkg/subsystem: move wireless under net
It will help keep more generic reports in "net".
Diffstat (limited to 'pkg/subsystem/linux/rules.go')
-rw-r--r--pkg/subsystem/linux/rules.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/subsystem/linux/rules.go b/pkg/subsystem/linux/rules.go
index b9e78a9a5..c2ed6451a 100644
--- a/pkg/subsystem/linux/rules.go
+++ b/pkg/subsystem/linux/rules.go
@@ -14,6 +14,8 @@ type customRules struct {
extraSubsystems map[string][]string
// For these subsystems we do not generate monthly reminders.
noReminders map[string]struct{}
+ // Extra child->[]parent links (on top of the inferred ones).
+ addParents map[string][]string
}
var (
@@ -98,5 +100,9 @@ var (
// in generating monthly reports for it.
"kernel": {},
},
+ addParents: map[string][]string{
+ // By MAINTAINERS, wireless is somewhat separate, but it's better to keep it as a net child.
+ "wireless": {"net"},
+ },
}
)