Duanqiang Wen e30cef001d net: txgbe: fix clk_name exceed MAX_DEV_ID limits
txgbe register clk which name is i2c_designware.pci_dev_id(),
clk_name will be stored in clk_lookup_alloc. If PCIe bus number
is larger than 0x39, clk_name size will be larger than 20 bytes.
It exceeds clk_lookup_alloc MAX_DEV_ID limits. So the driver
shortened clk_name.

Fixes: b63f20485e43 ("net: txgbe: Register fixed rate clock")
Signed-off-by: Duanqiang Wen <duanqiangwen@net-swift.com>
Reviewed-by: Michal Kubiak <michal.kubiak@intel.com>
Link: https://lore.kernel.org/r/20240313080634.459523-1-duanqiangwen@net-swift.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-03-14 13:49:02 +01:00
..
2024-02-28 12:20:00 -08:00
2024-01-12 11:32:19 -08:00
2024-03-12 09:31:39 -07:00
2024-02-06 20:07:35 +02:00
2024-03-11 11:43:44 -07:00
2024-03-12 10:35:24 -07:00
2024-01-18 11:37:24 -08:00
2024-02-16 18:51:00 -05:00
2024-01-10 08:45:22 -08:00
2024-03-12 14:36:18 -07:00
2024-01-18 11:37:24 -08:00
2024-01-18 11:37:24 -08:00
2024-03-02 20:50:59 -08:00
2024-03-03 02:32:35 +00:00
2024-01-09 16:32:11 -08:00
2024-03-08 13:06:35 -08:00
2024-03-12 10:29:57 -07:00
2024-01-18 11:37:24 -08:00
2024-03-07 20:26:24 -08:00
2024-01-17 15:25:27 -08:00
2024-03-11 17:11:28 -07:00
2024-01-18 11:37:24 -08:00
2024-03-12 14:49:30 -07:00
2024-03-11 11:43:44 -07:00
2024-03-11 11:43:44 -07:00
2024-03-12 17:44:08 -07:00
2024-03-01 17:18:35 -08:00
2024-01-05 15:55:41 +05:30
2024-03-12 17:44:08 -07:00
2024-03-12 10:35:24 -07:00
2024-01-17 14:37:40 -08:00
2024-03-12 17:44:08 -07:00
2024-01-11 11:31:46 -08:00
2024-03-12 10:14:22 -07:00
2024-03-11 11:43:44 -07:00
2024-01-18 17:08:31 -08:00
2024-02-06 20:07:12 +02:00
2024-03-12 17:44:08 -07:00
2024-03-11 10:52:34 -07:00
2024-03-12 10:35:24 -07:00
2024-03-02 19:47:01 +01:00
2024-01-04 17:03:47 +01:00
2024-01-18 16:44:03 -08:00
2024-01-18 15:57:25 -08:00
2024-03-05 12:38:50 -08:00
2024-01-18 16:44:03 -08:00
2024-02-19 11:10:55 +01:00
2024-01-12 12:38:37 +01:00