Re: [PATCH] nvmem: core: Check read_only flag for force_ro in bin_attr_nvmem_write()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Apologies, some how I missed this email.

On 26/10/2024 00:15, Marek Vasut wrote:
On 9/25/24 12:42 AM, Marek Vasut wrote:
On 7/13/24 5:39 PM, Marek Vasut wrote:
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")
Signed-off-by: Marek Vasut <marex@xxxxxxx>

Applied with CC stable.

--srini
---
Cc: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx
It seems this bugfix is not even in next, any news ?

This is still broken, bugfix is available for three months now, but not picked up. Any news?




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux