]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: ethernet: adi: make name member of struct adin1110_cfg a pointer
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 31 Jan 2026 17:37:15 +0000 (18:37 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 3 Feb 2026 11:46:55 +0000 (12:46 +0100)
commitf7aa2ef10c0ed2cb7d25bf27a55cb6eb215ab921
treeec0123189c7172c629bff5e27458b2e9a1665205
parentfae1c659d7bd5640012be21b5b5d6490b83c0df8
net: ethernet: adi: make name member of struct adin1110_cfg a pointer

Primary reason for this change is to remove the misuse of MDIO_NAME_SIZE
here, so that this constant can be removed in a follow-up patch.
Use case here is simply a chip name w/o any relationship to a MDIO
device. Also there's no need to reserve a longer char array, so make
the name a pointer.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://patch.msgid.link/61bc14fa-eed3-43b6-ae40-b98063e81578@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/adi/adin1110.c