diff options
author | David S. Miller <davem@davemloft.net> | 2022-01-05 14:46:23 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-05 14:46:23 +0000 |
commit | 53928cddda07a7d7bcb4714003af55b9b560d7f9 (patch) | |
tree | 1961689f2f16da40df337932f2d4b3ef59c29316 /net/dsa/dsa2.c | |
parent | 5be9963d9e170a2193a98ffdc71cdb07896db0cc (diff) | |
parent | 4b026e82893b2e084fcc48bc26f91612b62ecc4f (diff) |
Merge branch 'dsa-cleanups'
Vladimir Oltean says:
====================
Cleanup to main DSA structures
This series contains changes that do the following:
- struct dsa_port reduced from 576 to 544 bytes, and first cache line a
bit better organized
- struct dsa_switch from 160 to 136 bytes, and first cache line a bit
better organized
- struct dsa_switch_tree from 112 to 104 bytes, and first cache line a
bit better organized
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/dsa2.c')
-rw-r--r-- | net/dsa/dsa2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dsa/dsa2.c b/net/dsa/dsa2.c index c18b22c0bf55..a0d84f9f864f 100644 --- a/net/dsa/dsa2.c +++ b/net/dsa/dsa2.c @@ -1440,7 +1440,7 @@ static int dsa_switch_parse_ports_of(struct dsa_switch *ds, } if (reg >= ds->num_ports) { - dev_err(ds->dev, "port %pOF index %u exceeds num_ports (%zu)\n", + dev_err(ds->dev, "port %pOF index %u exceeds num_ports (%u)\n", port, reg, ds->num_ports); of_node_put(port); err = -EINVAL; |