[igt-dev] [PATCH i-g-t] runner/resultgen: Fix dmesg whitelist entry's regular expression

Harish Chegondi harish.chegondi at intel.com
Fri May 15 07:41:50 UTC 2020


PCI devices' B/D/F numbers can have alphabets in hex. Fix the regexp
so that hex B/D/F numbers also match the regular expression.

Cc: Petri Latvala <petri.latvala at intel.com>
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Cc: Swathi Dhanavanthri <swathi.dhanavanthri at intel.com>
Cc: José Roberto de Souza <jose.souza at intel.com>
Signed-off-by: Harish Chegondi <harish.chegondi at intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
---
 runner/resultgen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runner/resultgen.c b/runner/resultgen.c
index fe59aafeb..17147a8fa 100644
--- a/runner/resultgen.c
+++ b/runner/resultgen.c
@@ -800,7 +800,7 @@ static const char igt_dmesg_whitelist[] =
 	 * module load after the testing finishes, which produces this
 	 * message.
 	 */
-	"i915: probe of [0-9:.]+ failed with error -25" _
+	"i915: probe of [0-9a-fA-F:.]+ failed with error -25" _
 	/* swiotbl warns even when asked not to */
 	"mock: DMA: Out of SW-IOMMU space for [0-9]+ bytes" _
 	"usb usb[0-9]+: root hub lost power or was reset"
-- 
2.25.4



More information about the igt-dev mailing list