projects
/
profile
/
extras
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43fda53
)
intel_infoframe: fix assertion off by 1
author
Ben Widawsky
<ben@bwidawsk.net>
Sun, 29 Apr 2012 03:10:09 +0000
(20:10 -0700)
committer
Ben Widawsky
<ben@bwidawsk.net>
Sun, 29 Apr 2012 03:10:09 +0000
(20:10 -0700)
this makes my compiler very unhappy
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
tools/intel_infoframes.c
patch
|
blob
|
history
diff --git
a/tools/intel_infoframes.c
b/tools/intel_infoframes.c
index
57d01a8
..
0dea903
100644
(file)
--- a/
tools/intel_infoframes.c
+++ b/
tools/intel_infoframes.c
@@
-270,7
+270,7
@@
static Register get_dip_data_reg(Transcoder transcoder)
static Register get_hdmi_port(int hdmi_port_index)
{
if (gen == 4) {
- assert(hdmi_port_index <
=
2);
+ assert(hdmi_port_index < 2);
return gen4_hdmi_ports[hdmi_port_index];
} else {
return pch_hdmi_ports[hdmi_port_index];