Re: [PATCH net-next v3 13/13] net: ethernet: adi: Add a driver for the ADIN1140 MACPHY

From: Andrew Lunn

Date: Thu Jun 04 2026 - 18:36:29 EST


> + ret = oa_tc6_write_register_mms(priv->tc6, OA_TC6_VEND_MMS1,
> + ADIN1140_MAC_P1_LOOP_ADDR_REG, 0x0);

Looking at this, don't you think it is a bit odd writing a _MAC_
register to a _VEND_ MMS? Having consistent naming will help spot dumb
typos where you mix up registers and MMS's. It is an error i've made
in the past, and now try to make more obvious by using consistent
naming schemes.

Andrew