From 229f64ce5eb21cc7b95a5642fbb6b12acf1f4cfc Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 30 Nov 2020 08:32:21 +0100 Subject: 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 --- pkg/report/linux.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkg/report/linux.go') 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{ -- cgit mrf-deployment