net: make kobj_type structures constant
Status from this message: This series was applied to netdev/net-next.git (master)
Get series with b4
b4 am [email protected] change-id 20230211-kobj_type-net-99f71346aed2Versions newest first
- v2 Latest2 patches 1 replyApplied 2/2
- v13 patches 1 replySuperseded
Changes in v2 from the cover letter
- drop sunrpc patch from series
- use "net-next" patch prefix
- Link to v1: https://lore.kernel.org/r/[email protected]
Patches in v2 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: bridge: make kobj_type structure constantnet/ | +1 | 1 reply | Applied |
| 2/2 | net-sysfs: make kobj_type structures constantnet/ | +2 | 0 replies | Applied |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Nikolay Aleksandrov |
|---|---|
| 1/2 | A-b |
| 2/2 |
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/2] net: make kobj_type structures constant
Since commit ee6d3dd4ed48 ("driver core: make kobj_type constant.") the driver core allows the usage of const struct kobj_type.
Take advantage of this to constify the structure definitions to prevent modification at runtime.
---
Changes in v2:
- drop sunrpc patch from series
- use "net-next" patch prefix
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Thomas Weißschuh (2):
net: bridge: make kobj_type structure constant
net-sysfs: make kobj_type structures constant
net/bridge/br_if.c | 2 +- net/core/net-sysfs.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
---
base-commit: f6feea56f66d34259c4222fa02e8171c4f2673d1
change-id: 20230211-kobj_type-net-99f71346aed2
Best regards,
Signature · 1 line
Thomas Weißschuh <[email protected]>