diff options
author | Karthikeyan Ramasubramanian <kramasub@google.com> | 2021-07-02 14:35:41 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-07-05 10:50:24 +0000 |
commit | bb87552c98ae2419dcf853fe0db97c0895f6894d (patch) | |
tree | 6c46beac589a901181fd575040e422a9fdc1b380 /src/device/pnp_device.c | |
parent | 4693f3dfe907d13359c48751db2014b945ea4d05 (diff) |
mb/google/dedede: Fix the pointer/address used in memcpy
The caller is already passing the address to the required LTE reset and
enable GPIO. During memcpy, the address to that pointer is used which
will lead to copying undefined data. Fix the pointer/address used in
memcpy.
BUG=None
BRANCH=dedede
TEST=Build Kracko, Drawcia and Metaknight mainboards which use this
function.
Change-Id: I79d6d9af03acd59ab5e1cd7df97bf451011dfeaa
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Found-by: Coverity CID 1458053, 1458054.
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56046
Reviewed-by: Evan Green <evgreen@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/device/pnp_device.c')
0 files changed, 0 insertions, 0 deletions