]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hinic3: select CONFIG_DIMLIB
authorArnd Bergmann <arnd@arndb.de>
Thu, 5 Feb 2026 16:13:48 +0000 (17:13 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 7 Feb 2026 04:08:04 +0000 (20:08 -0800)
commit2d593cf146706b9a5fc6d8107859e02a8bb17a43
tree3b3f20b8dafcde2307d06f3d84aac06c273bcf2b
parentabf981bb8de6185b2ac80ebc40224d5028e4f8b4
hinic3: select CONFIG_DIMLIB

The driver started using dimlib but fails to select the corresponding
symbol, which results in a link failure:

x86_64-linux-ld: drivers/net/ethernet/huawei/hinic3/hinic3_irq.o: in function `hinic3_poll':
hinic3_irq.c:(.text+0x179): undefined reference to `net_dim'
x86_64-linux-ld: drivers/net/ethernet/huawei/hinic3/hinic3_irq.o: in function `hinic3_rx_dim_work':
hinic3_irq.c:(.text+0x1fb): undefined reference to `net_dim_get_rx_moderation'

Fixes: b35a6fd37a00 ("hinic3: Add adaptive IRQ coalescing with DIM")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20260205161530.1308504-1-arnd@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/huawei/hinic3/Kconfig