devlink: Warn on resource ID collision with PARENT_TOP
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v2 All 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | net: dsa: dsa_loop: avoid devlink resource IDs collision with PARENT_TOPdrivers/ | +1 | 0 replies | Applied |
| 2/5 | net: dsa: b53: avoid devlink resource IDs collision with PARENT_TOPdrivers/ | +1 | 0 replies | Applied |
| 3/5 | net: dsa: hellcreek: avoid devlink resource IDs collision with PARENT_TOPdrivers/ | +1 | 1 reply | Applied |
| 4/5 | net: dsa: mv88e6xxx: Avoid devlink resource IDs collision with PARENT_TOPdrivers/ | +5 | 0 replies | Applied |
| 5/5 | devlink: Warn on resource ID collision with PARENT_TOPnet/ | +2 | 0 replies | Applied |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Kurt Kanzenbach |
|---|---|
| 1/5 | |
| 2/5 | |
| 3/5 | A-b |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v2 0/5] devlink: Warn on resource ID collision with PARENT_TOP
Filter out the ambiguous case of
enum {
MY_RESOURCE_ID_A, /* == DEVLINK_RESOURCE_ID_PARENT_TOP ! */
MY_RESOURCE_ID_B,
...
};register(..., MY_RESOURCE_ID_A, DEVLINK_RESOURCE_ID_PARENT_TOP, ...); register(..., MY_RESOURCE_ID_B, MY_RESOURCE_ID_A, ...);
v1: https://lore.kernel.org/r/[email protected]
- make a patchset
David Yang (5):
net: dsa: dsa_loop: avoid devlink resource IDs collision with
PARENT_TOP
net: dsa: b53: avoid devlink resource IDs collision with PARENT_TOP
net: dsa: hellcreek: avoid devlink resource IDs collision with
PARENT_TOP
net: dsa: mv88e6xxx: Avoid devlink resource IDs collision with
PARENT_TOP
devlink: Warn on resource ID collision with PARENT_TOP
drivers/net/dsa/b53/b53_common.c | 1 + drivers/net/dsa/dsa_loop.c | 1 + drivers/net/dsa/hirschmann/hellcreek.h | 1 + drivers/net/dsa/mv88e6xxx/devlink.c | 9 +++++---- net/devlink/resource.c | 2 ++ 5 files changed, 10 insertions(+), 4 deletions(-)
Signature · 1 line
2.53.0