In Linux 6.15, they introduced alternative callbacks to introduce the use of const struct bin_attribute pointers.
In Linux 6.16, they modified the original callbacks to be exactly like the alternative ones.
Sponsored by: The FreeBSD Foundation
Differential D62331
linuxkpi: Constify several `struct bin_attribute` uses in <linux/sysfs.h> Authored by dumbbell on Wed, Dec 2, 8:08 PM.
Details
In Linux 6.15, they introduced alternative callbacks to introduce the use of const struct bin_attribute pointers. In Linux 6.16, they modified the original callbacks to be exactly like the alternative ones. Sponsored by: The FreeBSD Foundation
Diff Detail
Event TimelineComment Actions In theory this seems correct; what do you think about clearly defining the LINUXKPI_VERSIONS (min and max) for the (temporary) implementation? If you think it'll make things too complicated in the end when by 6.18 the "new" versions are gone, then we can leave them as are now.
| ||||||||||||||||||