Files
linux/drivers/gpu/drm/amd/amdgpu
Thomas Weißschuh b626816fdd sysfs: treewide: constify attribute callback of bin_is_visible()
The is_bin_visible() callbacks should not modify the struct
bin_attribute passed as argument.
Enforce this by marking the argument as const.

As there are not many callback implementers perform this change
throughout the tree at once.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: Jason Gunthorpe <jgg@nvidia.com>
Acked-by: Ira Weiny <ira.weiny@intel.com>
Acked-by: Krzysztof Wilczyński <kw@linux.com>
Link: https://lore.kernel.org/r/20241103-sysfs-const-bin_attr-v2-5-71110628844c@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-05 14:00:28 +01:00
..
2024-07-24 17:30:23 -04:00
2024-02-12 16:12:00 -05:00
2024-09-18 16:14:26 -04:00
2024-07-23 17:32:20 -04:00
2024-09-06 17:36:24 -04:00
2024-01-15 18:35:37 -05:00
2024-01-15 18:35:37 -05:00
2024-01-15 18:35:37 -05:00
2024-01-15 18:35:37 -05:00
2024-07-24 17:30:23 -04:00
2024-07-24 17:30:23 -04:00
2022-05-04 09:53:12 -04:00
2023-08-07 16:35:38 -04:00
2022-05-04 10:43:54 -04:00
2024-06-27 17:34:40 -04:00
2022-05-10 17:53:11 -04:00
2023-03-15 18:45:26 -04:00
2023-03-15 18:45:26 -04:00
2024-09-18 16:15:13 -04:00
2023-08-30 15:00:27 -04:00
2024-05-29 14:09:01 -04:00
2021-10-20 11:43:57 -04:00
2022-03-22 10:53:39 -04:00
2024-06-19 18:25:58 -04:00
2023-08-31 16:34:05 -04:00