summaryrefslogtreecommitdiffstats
path: root/env/env.c
diff options
context:
space:
mode:
authorVignesh Raghavendra <vigneshr@ti.com>2020-02-14 17:52:17 +0530
committerLokesh Vutla <lokeshvutla@ti.com>2020-02-26 18:35:29 +0530
commit7a8d03f88efadcfe5963bc72a03fedc9a04f7f5a (patch)
treeee8d8dd8993ad3bb2b599fd13e6c14e2132ea80f /env/env.c
parent548ce227d3d852455c6395c0cec30af0cda77b09 (diff)
downloadu-boot-7a8d03f88efadcfe5963bc72a03fedc9a04f7f5a.tar.gz
u-boot-7a8d03f88efadcfe5963bc72a03fedc9a04f7f5a.tar.xz
u-boot-7a8d03f88efadcfe5963bc72a03fedc9a04f7f5a.zip
misc: k3_avs: Fix possible NULL pointer deference
Its possible that k3_avs_priv is NULL because the driver may not have been probed yet. Therefore check if pointer is valid before dereferencing it. Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'env/env.c')
0 files changed, 0 insertions, 0 deletions