Re: [PATCH net-next v5 1/6] net: dsa: motorcomm: refactor registration path for upcoming switch families

From: Andrew Lunn

Date: Fri Sep 04 2026 - 09:41:51 EST


Yah! A small patch in a series.

But patch series should have a patch 0/X explaining what the series as
a whole does.

git format-patch --cover-letter

Take a look at all the other patch series on netdev.

> static const struct of_device_id yt921x_of_match[] = {
> - { .compatible = "motorcomm,yt9215" },
> - {}
> + {
> + .compatible = "motorcomm,yt9215",
> + .data = &yt92xx_series_info_table[YT921X],
> + },
> + { /* sentinel */ },

There was a patchset of 33 patches posted overnight which removes the
, after the sentinel. It would be good not to add one here.


Andrew

---
pw-bot: cr