summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/microchip/ksz_common.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2023-07-26 18:32:00 +0200
committerDavid S. Miller <davem@davemloft.net>2023-07-29 16:59:51 +0100
commita0b1b2055be34c0ec1371764d040164cde1ead79 (patch)
tree4116ba777b540ef53a8fdb0519bdf7fa31fc4af5 /drivers/net/dsa/microchip/ksz_common.c
parent56c6be35fcbed54279df0a2c9e60480a61841d6f (diff)
net: stmmac: tegra: Properly allocate clock bulk data
The clock data is an array of struct clk_bulk_data, so make sure to allocate enough memory. Fixes: d8ca113724e7 ("net: stmmac: tegra: Add MGBE support") Signed-off-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.c')
0 files changed, 0 insertions, 0 deletions