aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2024-10-30 14:02:53 +0000
committerGreg Kroah-Hartman <[email protected]>2024-11-05 14:01:19 +0100
commitda9596955c05966768364ab1cad2f43fcddc6f06 (patch)
tree8c3a117ad2e27cb382e7ef350ee1a2d7f73e9a38 /tools/perf/scripts/python/exported-sql-viewer.py
parentce8f9fb651fac95dd41f69afe54d935420b945bd (diff)
nvmem: core: Check read_only flag for force_ro in bin_attr_nvmem_write()
The bin_attr_nvmem_write() must check the read_only flag and block writes on read-only devices, now that a nvmem device can be switched between read-write and read-only mode at runtime using the force_ro attribute. Add the missing check. Fixes: 9d7eb234ac7a ("nvmem: core: Implement force_ro sysfs attribute") Cc: [email protected] Signed-off-by: Marek Vasut <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions