drivers/intel/gma/intel_dp.c: Fix printf type-specifier
'%02hx' is unsigned short, where as the argument is typed as uint8_t and so '%02hhx' is actually correct here. Found-by: Clang Change-Id: I40c48dcecf12845f4708e511236184908e90fb56 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/7428 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Marc Jones <marc.jones@se-eng.com> Tested-by: build bot (Jenkins)
This commit is contained in:
parent
e90080253b
commit
a955fefd14
|
@ -1533,7 +1533,7 @@ intel_dp_get_dpcd(struct intel_dp *intel_dp)
|
|||
return 0;
|
||||
}
|
||||
|
||||
printk(BIOS_SPEW, "DPCD: %02hx%02hx%02hx%02hx%02hx%02hx%02hx%02hx\n",
|
||||
printk(BIOS_SPEW, "DPCD: %02hhx%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx\n",
|
||||
intel_dp->dpcd[0], intel_dp->dpcd[1], intel_dp->dpcd[2],
|
||||
intel_dp->dpcd[3], intel_dp->dpcd[4], intel_dp->dpcd[5],
|
||||
intel_dp->dpcd[6], intel_dp->dpcd[7]);
|
||||
|
|
Loading…
Reference in New Issue