aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-11-30 08:32:21 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-11-30 13:32:23 +0100
commit229f64ce5eb21cc7b95a5642fbb6b12acf1f4cfc (patch)
treed264932e7addc81e3657a6a715c0f8aa6cd7a8ce /pkg/report/linux.go
parent7c80d6f9ba2b108653c5643a3a9ef12820a5de34 (diff)
pkg/report: skip drivers/usb/core/urb.c as guilty file
We are getting lots of WARNINGs in urb.c and all of them seem to mean a bug in a particular driver. And fixes for these bugs go into a particular driver code. But we send all of them to urb.c maintainers. Skip urb.c as a guilty file. If a bug happens to be in urb.c for real, a driver maintainers should CC USB core maintainers on it. Update #2284
Diffstat (limited to 'pkg/report/linux.go')
-rw-r--r--pkg/report/linux.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index 527f03fb6..3bcf7b60b 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -84,7 +84,8 @@ func ctorLinux(cfg *config) (Reporter, []string, error) {
regexp.MustCompile(`^net/core/sock.c`),
regexp.MustCompile(`^net/core/skbuff.c`),
regexp.MustCompile(`^fs/proc/generic.c`),
- regexp.MustCompile(`^trusty/`), // Trusty sources are not in linux kernel tree.
+ regexp.MustCompile(`^trusty/`), // Trusty sources are not in linux kernel tree.
+ regexp.MustCompile(`^drivers/usb/core/urb.c`), // WARNING in urb.c usually means a bug in a driver
}
// These pattern do _not_ start a new report, i.e. can be in a middle of another report.
ctx.reportStartIgnores = []*regexp.Regexp{