diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-12-04 13:29:28 +0000 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-12-04 14:54:13 +0000 |
commit | 7511d626b318ae068d7773159eedf3c9fc4c7a5a (patch) | |
tree | 1276931608d29e31e760ef4826626ba85cae5ae6 /Platform | |
parent | bfde902ae7bf4a4612e7f7dd3009304fc4d6ea0b (diff) | |
download | edk2-platforms-7511d626b318ae068d7773159eedf3c9fc4c7a5a.tar.xz |
Silicon/SynQuacerI2CDxe: add missing __FUNCTION__ argument to %a specifier
The I2C driver prints a warning under DEBUG when a I2C transaction times
out. This will occur on the rev 0.1 DeveloperBox boards due to a board
level error in the I2C routing (unless the MCU has been lifted off the
bus).
Currently, this will trigger a crash due to a missing __FUNCTION__
argument to a %a specifier in a DEBUG string, because instead, the code
will attempt to dereference a EFI_STATUS variable as a char pointer.
So add the missing __FUNCTION__ argument.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'Platform')
0 files changed, 0 insertions, 0 deletions