summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/microchip/lan937x_main.c
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2025-11-20 14:42:05 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2025-11-20 14:42:05 +0800
commita6b533adfc05ba15360631e019d3e18275080275 (patch)
treead824296771efc0fe15ad821941f1cbcc48c06da /drivers/net/dsa/microchip/lan937x_main.c
parent863a320dc6fd7c855f47da4bb82a8de2d9102ea2 (diff)
LoongArch: Don't panic if no valid cache info for PCI
If there is no valid cache info detected (may happen in virtual machine) for pci_dfl_cache_line_size, kernel shouldn't panic. Because in the PCI core it will be evaluated to (L1_CACHE_BYTES >> 2). Cc: <stable@vger.kernel.org> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'drivers/net/dsa/microchip/lan937x_main.c')
0 files changed, 0 insertions, 0 deletions