diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2023-09-08 16:33:49 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-09-11 08:32:30 +0100 |
commit | c956798062b5a308db96e75157747291197f0378 (patch) | |
tree | 2b4fb00dc90a1f3a8abe6c2b6b5a74f465163f4f /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 02c652f5465011126152bbd93b6a582a1d0c32f1 (diff) |
net: dsa: sja1105: propagate exact error code from sja1105_dynamic_config_poll_valid()
Currently, sja1105_dynamic_config_wait_complete() returns either 0 or
-ETIMEDOUT, because it just looks at the read_poll_timeout() return code.
There will be future changes which move some more checks to
sja1105_dynamic_config_poll_valid(). It is important that we propagate
their exact return code (-ENOENT, -EINVAL), because callers of
sja1105_dynamic_config_read() depend on them.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions