Re: [PATCH] dma-buf: make kobj_type structure constant

2023-02-17 Thread Christian König
Am 17.02.23 um 04:13 schrieb Thomas Weißschuh: 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 definition to prevent modification at runtime. Signed-off-by: Thomas

[PATCH] dma-buf: make kobj_type structure constant

2023-02-16 Thread Thomas Weißschuh
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 definition to prevent modification at runtime. Signed-off-by: Thomas Weißschuh ---