openwrt/target/linux/generic
Thibaut VARÈNE 39ec3c5986 generic: platform/mikrotik: rb_hardconfig.c minor fixes
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>
2020-05-28 11:09:10 +02:00
..
backport-4.14 kernel: bump 4.14 to 4.14.180 2020-05-12 12:36:28 +02:00
backport-4.19 kernel: bump 4.19 to 4.19.122 2020-05-12 12:36:28 +02:00
backport-5.4 kernel: drop backported gpio emulated open drain output fix 2020-05-25 21:10:44 +02:00
files generic: platform/mikrotik: rb_hardconfig.c minor fixes 2020-05-28 11:09:10 +02:00
hack-4.14 kernel: bump 4.14 to 4.14.180 2020-05-12 12:36:28 +02:00
hack-4.19 kernel: bump 4.19 to 4.19.122 2020-05-12 12:36:28 +02:00
hack-5.4 kernel: remove a bunch of trailing whitespaces 2020-05-25 21:11:47 +02:00
image treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
other-files kernel: move initramfs's init script out of base-files 2017-04-04 14:06:40 +02:00
pending-4.14 kernel: bump 4.14 to 4.14.180 2020-05-12 12:36:28 +02:00
pending-4.19 kernel: bump 4.19 to 4.19.123 2020-05-14 13:33:40 +02:00
pending-5.4 kernel: properly insert local mtd partition parsers 2020-05-25 21:11:47 +02:00
config-4.14 kernel: mtdsplit: add BCM WFI support 2020-05-18 18:24:06 +02:00
config-4.19 kernel: mtdsplit: add BCM WFI support 2020-05-18 18:24:06 +02:00
config-5.4 bcm27xx: update patches from RPi foundation 2020-05-28 10:36:27 +02:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00