From 1708580217ed403f0abd086f15baddf98cb0fb5a Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Tue, 11 Oct 2011 11:37:25 -0700 Subject: [PATCH] intel_reg_dumper: use none instead of NULL if no port is assigned to TRANS_DP Makes the output a little more readable. --- tools/intel_reg_dumper.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/intel_reg_dumper.c b/tools/intel_reg_dumper.c index f6695a9..75b3bc1 100644 --- a/tools/intel_reg_dumper.c +++ b/tools/intel_reg_dumper.c @@ -1427,6 +1427,9 @@ DEBUGSTRING(snb_debug_trans_dp_ctl) case TRANS_DP_PORT_SEL_D: port = "D"; break; + default: + port = "none"; + break; } switch (val & (7<<9)) { -- 2.7.4