From 4d68b3483721b18be2f2fec0c709eaf665658bb5 Mon Sep 17 00:00:00 2001 From: Pengpeng Hou Date: Sun, 20 Sep 2026 11:46:51 +0800 Subject: [PATCH] net: alacritech: publish the PCI module aliases The SLIC driver has a PCI ID table connected to its pci_driver, but does not export it. Its module therefore lacks the PCI aliases used to automatically load it for the supported Alacritech adapters. Export the existing PCI table without changing device matching. The issue was found by our static-analysis tool. Cc: stable+noautosel@kernel.org # never worked Reviewed-by: Simon Horman Reviewed-by: Lino Sanfilippo Signed-off-by: Pengpeng Hou Link: https://patch.msgid.link/20260920034651.18109-1-hppiscas@163.com Signed-off-by: Jakub Kicinski --- drivers/net/ethernet/alacritech/slicoss.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/alacritech/slicoss.c b/drivers/net/ethernet/alacritech/slicoss.c index c1949ca060ca..14b74c09233e 100644 --- a/drivers/net/ethernet/alacritech/slicoss.c +++ b/drivers/net/ethernet/alacritech/slicoss.c @@ -34,6 +34,7 @@ static const struct pci_device_id slic_id_tbl[] = { PCI_DEVICE_ID_ALACRITECH_OASIS) }, { 0 } }; +MODULE_DEVICE_TABLE(pci, slic_id_tbl); static const char slic_stats_strings[][ETH_GSTRING_LEN] = { "rx_packets",