diff options
author | 2025-07-28 13:17:00 +0900 | |
---|---|---|
committer | 2025-07-28 22:32:48 -0400 | |
commit | a2f54ff15c3bdc0132e20aae041607e2320dbd73 (patch) | |
tree | 63a31f7581226944d31779212506e0b807e1abed /tools/perf/scripts/python | |
parent | Merge patch series "libsas cleanups" (diff) | |
download | wireguard-linux-a2f54ff15c3bdc0132e20aae041607e2320dbd73.tar.xz wireguard-linux-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 <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20250728041700.76660-1-dlemoal@kernel.org
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Johannes Thumshin <johannes.thumshirn@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions