aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_prog_array_init.c
diff options
context:
space:
mode:
authorRosen Penev <[email protected]>2024-08-24 13:02:37 -0700
committerJakub Kicinski <[email protected]>2024-08-27 14:19:09 -0700
commitbe04024a24a93f761a7b2c5f2de46db0f3acdc74 (patch)
tree56364083c135ca026f066109f574a1ecb97c96df /tools/testing/selftests/bpf/progs/test_prog_array_init.c
parent0eaebf738e6ec45d1f8a268155b13afcf17e2c97 (diff)
net: ag71xx: support probe defferal for getting MAC address
Currently, of_get_ethdev_address() return is checked for any return error code which means that trying to get the MAC from NVMEM cells that is backed by MTD will fail if it was not probed before ag71xx. So, lets check the return error code for EPROBE_DEFER and defer the ag71xx probe in that case until the underlying NVMEM device is live. Signed-off-by: Robert Marko <[email protected]> Signed-off-by: Rosen Penev <[email protected]> Reviewed-by: Oleksij Rempel <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions