diff options
| author | Thomas Weißschuh <[email protected]> | 2024-11-03 17:03:30 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-11-05 13:00:28 +0000 |
| commit | 0afcee132bbc9d7ef9c5bb4da9b6fe014a9afaa9 (patch) | |
| tree | 979a72c444fa7b7046b74b5f5e33602ce3662d15 /drivers/platform/x86/intel/pmt/class.c | |
| parent | Merge 6.12-rc6 into driver-core-next (diff) | |
| download | kernel-0afcee132bbc9d7ef9c5bb4da9b6fe014a9afaa9.tar.gz kernel-0afcee132bbc9d7ef9c5bb4da9b6fe014a9afaa9.zip | |
sysfs: explicitly pass size to sysfs_add_bin_file_mode_ns()
Upcoming changes to the sysfs core require the size of the created file
to be overridable by the caller.
Add a parameter to enable this.
For now keep using attr->size in all cases.
Signed-off-by: Thomas Weißschuh <[email protected]>
Acked-by: Krzysztof Wilczyński <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
