aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2025-07-28 04:17:00 +0000
committerMartin K. Petersen <[email protected]>2025-07-29 02:32:48 +0000
commita2f54ff15c3bdc0132e20aae041607e2320dbd73 (patch)
tree63a31f7581226944d31779212506e0b807e1abed /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentMerge patch series "libsas cleanups" (diff)
downloadkernel-a2f54ff15c3bdc0132e20aae041607e2320dbd73.tar.gz
kernel-a2f54ff15c3bdc0132e20aae041607e2320dbd73.zip
scsi: core: sysfs: Correct sysfs attributes access rights
The SCSI sysfs attributes "supported_mode" and "active_mode" do not define a store method and thus cannot be modified. Correct the DEVICE_ATTR() call for these two attributes to not include S_IWUSR to allow write access as they are read-only. Signed-off-by: Damien Le Moal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: John Garry <[email protected]> Reviewed-by: Johannes Thumshin <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions