openwrt/target
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
..
imagebuilder build: refactor JSON info files to profiles.json 2020-04-03 12:17:45 +02:00
linux generic: platform/mikrotik: rb_hardconfig.c minor fixes 2020-05-28 11:09:10 +02:00
sdk sdk: add OpenWrt branding to menuconfig & .config 2020-05-20 17:03:45 +02:00
toolchain toolchain: wrapper.sh: harmonize leading whitespaces 2019-12-31 01:36:16 +01:00
Config.in build: define RTC_SUPPORT as a bool 2020-04-09 12:51:10 +02:00
Makefile build: make <subdir>/install opt-in, use it for target/ only 2017-02-09 13:51:35 +01:00