edid: Get rid of ugly "%hd.%hd" in printout
When booting, you see: EDID version: %hd.%hd Let's fix it to print the actual version. BRANCH=none BUG=none TEST=No longer see wrong printout Change-Id: Id954856538938961678027d5fdc881d9ea270e26 Signed-off-by: Douglas Anderson <dianders@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/309599
This commit is contained in:
parent
39122e242e
commit
4912f76d3e
1 changed files with 1 additions and 1 deletions
|
|
@ -1102,7 +1102,7 @@ int decode_edid(unsigned char *edid, int size, struct edid *out)
|
|||
}
|
||||
}
|
||||
|
||||
printk(BIOS_SPEW, "EDID version: %hhd.%hhd\n", edid[0x12], edid[0x13]);
|
||||
printk(BIOS_SPEW, "EDID version: %hd.%hd\n", edid[0x12], edid[0x13]);
|
||||
extra_info.version[0] = edid[0x12];
|
||||
extra_info.version[1] = edid[0x13];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue