summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-mtk.c
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2023-10-28 18:57:27 -0400
committerTom Rini <trini@konsulko.com>2023-11-16 16:21:38 -0500
commit2a1812de208168f2f4edeb48e8da6b12315ff77f (patch)
tree5e89e76952cb6d0c850ca45acc416be3c7d21f85 /drivers/pwm/pwm-mtk.c
parent1125e291fbc5ee977a296065d24694a4861785fa (diff)
test: eth: Don't crash if env_get returns NULL
env_get can return NULL if it fails to find the variable. Check its result before using it. Fixes: 6d9764c2a87 ("dm: test: Add a new test case against dm eth codes for NULL pointer access") Fixes: df33fd28897 ("test: eth: Add test for ethernet addresses") Signed-off-by: Sean Anderson <seanga2@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-mtk.c')
0 files changed, 0 insertions, 0 deletions