From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 28564468C20; Fri, 7 Aug 2026 15:12:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786115530; cv=none; b=IrtlyWnQMmEJ8NuNQnQssXifmMWHX8OVFPXRuhpWAgEXkElkmlWP2HZioahTbI7bz+6tuWzyXFJe5kB7lgYjkNgX/8BNYg5Ijn9Wftftr/W4dwHKw6EtF8FtRjBmk+UXsxdwFkB2suUIqzsLanqi/Rh2KsV3pRxjOUozpLH+BCs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786115530; c=relaxed/simple; bh=UVL0NaDtbf4/LTab9Q83+prTZnA3FtplBWZpcT/38yw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=uDk7jinz91STaZWXEfi/PhtIz6RGxC1PYzOOHDs8ODdLR0X0r5wElBAUX7GFByNlV2OMTtLDhPqlZ0gs55A3k87JktOciRyUhdnvwM3CZ0Ye+1kMGfRuSgqFBqmgVa+RpeQ0D6yQO6TeFEQEAwjzoNtEFbPb+CtQYnHj3Pv+rD8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0hYf2N1I; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="0hYf2N1I" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6B7061F000E9; Fri, 7 Aug 2026 15:12:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786115526; bh=p7rji5ug+FgDhDwPb24qRyTPDI1pY2TyXSt4c8z5m4E=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=0hYf2N1IpAK2rV8KYDvzCfPyxryY8J+tirJzn4soE6jD9Z6iIF/OosqacWCnmqQ+h BJ2mrfjgvmzpaPzogNtOz1lW+961uiT4EA/rW7ATherY0falztZLrZm+yPSa6K6GBh 4o0dJN9fbf4FgCunReA55x4g/pNC72KhArzYPwCE= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Pengpeng Hou , Pavel Pisa , stable@kernel.org, Marc Kleine-Budde Subject: [PATCH 6.18 307/396] can: ctucanfd: add missing MODULE_DEVICE_TABLE() Date: Fri, 7 Aug 2026 16:37:47 +0200 Message-ID: <20260807143430.894216323@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260807143424.272339768@linuxfoundation.org> References: <20260807143424.272339768@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Pengpeng Hou commit d937bdb244a751fe5967052ea2d64a7b2c476cc0 upstream. The driver has a match table for the pci bus wired into its driver structure, but the table is not exported with MODULE_DEVICE_TABLE(). Add the missing MODULE_DEVICE_TABLE() entry so module alias information is generated for automatic module loading. This is a source-level fix. It does not claim dynamic hardware reproduction; the evidence is the driver-owned match table, its use by the driver registration structure, and the missing module alias publication. Signed-off-by: Pengpeng Hou Acked-by: Pavel Pisa Link: https://patch.msgid.link/20260704151957.48194-1-pengpeng@iscas.ac.cn Fixes: 792a5b678e81 ("can: ctucanfd: CTU CAN FD open-source IP core - PCI bus support.") Cc: stable@kernel.org Signed-off-by: Marc Kleine-Budde Signed-off-by: Greg Kroah-Hartman --- drivers/net/can/ctucanfd/ctucanfd_pci.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/net/can/ctucanfd/ctucanfd_pci.c +++ b/drivers/net/can/ctucanfd/ctucanfd_pci.c @@ -274,6 +274,7 @@ static const struct pci_device_id ctucan CTUCAN_WITH_CTUCAN_ID)}, {}, }; +MODULE_DEVICE_TABLE(pci, ctucan_pci_tbl); static struct pci_driver ctucan_pci_driver = { .name = KBUILD_MODNAME,