You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
imagebuilder build: refactor JSON info files to `profiles.json` 4 years ago
linux generic: platform/mikrotik: rb_hardconfig.c minor fixes 4 years ago
sdk sdk: add OpenWrt branding to menuconfig & .config 4 years ago
toolchain toolchain: wrapper.sh: harmonize leading whitespaces 5 years ago
Config.in build: define RTC_SUPPORT as a bool 4 years ago
Makefile build: make <subdir>/install opt-in, use it for target/ only 7 years ago