Tom Rix
774d977abf
net: dsa: b53: check for timeout
...
clang static analysis reports this problem
b53_common.c:1583:13: warning: The left expression of the compound
assignment is an uninitialized value. The computed value will
also be garbage
ent.port &= ~BIT(port);
~~~~~~~~ ^
ent is set by a successful call to b53_arl_read(). Unsuccessful
calls are caught by an switch statement handling specific returns.
b32_arl_read() calls b53_arl_op_wait() which fails with the
unhandled -ETIMEDOUT.
So add -ETIMEDOUT to the switch statement. Because
b53_arl_op_wait() already prints out a message, do not add another
one.
Fixes: 1da6df85c6 ("net: dsa: b53: Implement ARL add/del/dump operations")
Signed-off-by: Tom Rix <trix@redhat.com >
Acked-by: Florian Fainelli <f.fainelli@gmail.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2020-08-21 11:46:12 -07:00
..
2020-08-06 14:56:11 -07:00
2020-08-15 08:18:22 -07:00
2020-07-29 17:05:44 +02:00
2020-08-05 20:13:21 -07:00
2020-08-06 18:09:34 -07:00
2020-08-07 13:13:09 -07:00
2020-08-02 18:26:51 +03:00
2020-08-15 20:36:42 -07:00
2020-07-31 15:11:52 -07:00
2020-08-06 10:54:07 -07:00
2020-08-11 11:58:31 +10:00
2020-08-15 08:18:22 -07:00
2020-08-15 08:09:38 -07:00
2020-08-11 17:29:45 +02:00
2020-08-07 10:33:50 -07:00
2020-08-11 14:34:17 -07:00
2020-08-11 10:59:19 -07:00
2020-07-30 17:22:58 +09:00
2020-08-07 21:14:30 -07:00
2020-08-10 19:07:44 -07:00
2020-08-15 08:25:41 -07:00
2020-08-12 10:57:59 -07:00
2020-08-05 12:56:27 -07:00
2020-08-14 16:00:09 -07:00
2020-07-29 16:58:08 +02:00
2020-08-10 16:33:54 -07:00
2020-08-14 13:31:25 -07:00
2020-08-14 16:00:09 -07:00
2020-08-15 08:18:22 -07:00
2020-08-04 13:49:43 -07:00
2020-08-12 10:58:04 -07:00
2020-08-15 18:50:32 -07:00
2020-08-05 11:43:47 -07:00
2020-08-12 11:24:12 -07:00
2020-08-04 18:11:58 -07:00
2020-08-05 19:24:27 -07:00
2020-08-07 10:33:50 -07:00
2020-08-14 19:56:57 -07:00
2020-08-15 20:36:42 -07:00
2020-08-11 14:13:24 -07:00
2020-08-11 14:13:24 -07:00
2020-08-05 13:23:24 -07:00
2020-08-15 08:09:38 -07:00
2020-08-07 21:14:30 -07:00
2020-08-06 11:55:43 -07:00
2020-07-31 14:38:12 +02:00
2020-08-10 18:20:04 -07:00
2020-08-21 11:46:12 -07:00
2020-08-14 19:56:57 -07:00
2020-08-14 19:56:56 -07:00
2020-08-05 11:12:34 -07:00
2020-07-29 17:12:09 +02:00
2020-08-06 10:54:07 -07:00
2020-08-04 12:44:53 +02:00
2020-08-12 12:41:15 -07:00
2020-08-07 18:48:15 -07:00
2020-08-07 13:35:51 -07:00
2020-08-09 12:52:28 -07:00
2020-08-12 12:13:44 -07:00
2020-08-07 21:27:37 -07:00
2020-08-06 11:55:43 -07:00
2020-08-19 16:23:22 -07:00
2020-08-14 16:00:09 -07:00
2020-08-12 10:58:01 -07:00
2020-07-30 23:27:08 +01:00
2020-08-11 11:17:45 -07:00
2020-08-12 17:17:00 -07:00
2020-08-11 18:16:31 +02:00
2020-08-14 16:01:59 -07:00
2020-08-14 19:56:57 -07:00
2020-08-07 21:14:30 -07:00
2020-08-06 14:27:31 -07:00
2020-08-05 20:13:21 -07:00
2020-08-07 18:48:15 -07:00
2020-08-14 16:01:59 -07:00
2020-08-15 08:09:38 -07:00
2020-08-09 11:06:10 -07:00
2020-08-06 14:56:11 -07:00
2020-08-07 13:00:53 -07:00
2020-08-11 14:34:17 -07:00
2020-08-12 12:09:36 -07:00
2020-08-11 14:34:17 -07:00
2020-08-14 16:00:09 -07:00
2020-08-14 19:56:57 -07:00
2020-08-12 12:13:44 -07:00
2020-08-14 13:34:37 -07:00