aboutsummaryrefslogtreecommitdiffstats
path: root/include/kernel.mk
diff options
context:
space:
mode:
authorThibaut VARÈNE <hacks@slashdirt.org>2020-05-13 18:42:45 +0200
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2020-05-28 11:09:10 +0200
commit39ec3c5986e5109c3f1dd63b27d884606453191b (patch)
tree11875d66c9f6f70e87f93faf7dbb69bc6df4bcea /include/kernel.mk
parent429fbc96a4dbefaed82b22f93f504254a0b4cbe6 (diff)
downloadupstream-39ec3c5986e5109c3f1dd63b27d884606453191b.tar.gz
upstream-39ec3c5986e5109c3f1dd63b27d884606453191b.tar.bz2
upstream-39ec3c5986e5109c3f1dd63b27d884606453191b.zip
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>
Diffstat (limited to 'include/kernel.mk')
0 files changed, 0 insertions, 0 deletions