diff options
author | Marcin Wojtas <mw@semihalf.com> | 2017-10-26 01:37:41 +0200 |
---|---|---|
committer | Leif Lindholm <leif@developerbox> | 2017-10-29 16:47:20 +0000 |
commit | f184f5e08bfe9125f268ddaabef5b187072aa382 (patch) | |
tree | 8519e81ad8b6f5bb9f05a12b22425f5db2672e48 /Platform/Marvell/Drivers/I2c | |
parent | df10f9b82c2dab1281cdba70b2db95867ee38e76 (diff) | |
download | edk2-platforms-f184f5e08bfe9125f268ddaabef5b187072aa382.tar.xz |
Marvell/Drivers: MvI2cDxe: Fix returning status in MvI2cStartRequest
In MvI2cStartRequest the status was assigned to the variable
without dereferencing a pointer. Fix it.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'Platform/Marvell/Drivers/I2c')
-rwxr-xr-x | Platform/Marvell/Drivers/I2c/MvI2cDxe/MvI2cDxe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Platform/Marvell/Drivers/I2c/MvI2cDxe/MvI2cDxe.c b/Platform/Marvell/Drivers/I2c/MvI2cDxe/MvI2cDxe.c index b4599d2e6d..a62383f3a7 100755 --- a/Platform/Marvell/Drivers/I2c/MvI2cDxe/MvI2cDxe.c +++ b/Platform/Marvell/Drivers/I2c/MvI2cDxe/MvI2cDxe.c @@ -627,7 +627,7 @@ MvI2cStartRequest ( }
if (I2cStatus != NULL)
- I2cStatus = EFI_SUCCESS;
+ *I2cStatus = EFI_SUCCESS;
if (Event != NULL)
gBS->SignalEvent(Event);
return EFI_SUCCESS;
|