Tom Rix baa59504c1 net: mscc: ocelot: fix using match before it is set
Clang static analysis reports this issue
ocelot_flower.c:563:8: warning: 1st function call argument
  is an uninitialized value
    !is_zero_ether_addr(match.mask->dst)) {
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The variable match is used before it is set.  So move the
block.

Fixes: 75944fda1dfe ("net: mscc: ocelot: offload ingress skbedit and vlan actions to VCAP IS1")
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-01-19 14:34:43 +00:00
..
2021-11-06 14:36:12 -07:00
2022-01-10 08:13:52 -08:00
2021-11-01 10:09:14 -07:00
2022-01-10 12:58:46 -08:00
2022-01-10 12:58:46 -08:00
2022-01-10 08:58:16 -08:00
2021-11-08 11:49:48 -08:00
2021-12-13 13:18:48 +05:30
2021-12-14 10:24:28 +01:00
2021-11-05 08:42:02 -07:00
2021-11-04 13:56:55 -07:00
2022-01-10 20:26:56 -08:00
2022-01-10 19:06:09 -08:00
2022-01-07 13:28:20 -08:00
2022-01-10 08:13:52 -08:00
2021-11-06 14:36:12 -07:00
2021-11-10 11:36:43 -08:00
2022-01-10 20:34:00 -08:00
2021-10-26 19:12:01 +02:00
2022-01-10 08:13:52 -08:00
2021-11-10 10:56:02 -08:00
2021-10-18 09:29:27 +02:00
2021-12-16 14:48:27 +01:00
2022-01-10 18:55:43 -08:00
2022-01-10 12:58:46 -08:00
2021-11-08 12:07:52 -08:00
2021-11-10 09:07:26 -08:00
2021-11-12 11:44:31 -08:00
2022-01-10 19:06:09 -08:00
2021-12-31 09:22:25 -08:00
2022-01-10 08:24:40 -08:00
2022-01-10 08:13:52 -08:00
2022-01-10 08:13:52 -08:00
2022-01-10 20:26:56 -08:00
2022-01-10 08:13:52 -08:00
2021-11-30 11:41:49 -07:00
2022-01-10 12:58:46 -08:00
2021-11-10 09:41:22 -08:00
2021-12-08 14:53:15 -05:00