mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-19 11:16:32 +00:00
39ec3c5986
For the sake of strictly typed code, add a missing const qualifier. Add a missing return value in error path. Check the return value of mtd_read(), for good measure. Also demote the error printks of failed sysfs file creation to warn level since they are not fatal in the init() sequence. Finally, add a note regarding PAGE_SIZE and clarify a comment. Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com> Tested-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org> |
||
---|---|---|
.. | ||
backport-4.14 | ||
backport-4.19 | ||
backport-5.4 | ||
files | ||
hack-4.14 | ||
hack-4.19 | ||
hack-5.4 | ||
image | ||
other-files | ||
pending-4.14 | ||
pending-4.19 | ||
pending-5.4 | ||
config-4.14 | ||
config-4.19 | ||
config-5.4 | ||
PATCHES |