aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/gpio-button-hotplug
diff options
context:
space:
mode:
authorSungbo Eo <mans0n@gorani.run>2021-08-01 22:17:04 +0900
committerRafał Miłecki <rafal@milecki.pl>2021-11-05 14:13:46 +0100
commit4607f55439c2a03154f71ba9d366cff8f52443d2 (patch)
treeac1965122860e32c257d5f116549f8d21840564f /package/kernel/gpio-button-hotplug
parentb4c40a7efc59caada8190d545d077521c747b7cc (diff)
downloadupstream-4607f55439c2a03154f71ba9d366cff8f52443d2.tar.gz
upstream-4607f55439c2a03154f71ba9d366cff8f52443d2.tar.bz2
upstream-4607f55439c2a03154f71ba9d366cff8f52443d2.zip
bcm4908: fix calculation of new cferam index
The arithmetic expansion fails when idx becomes a two digit number. Fix this by relying on expr command. root@OpenWrt:/# echo $(((028 + 0) % 1000)) /bin/ash: arithmetic syntax error root@OpenWrt:/# echo $(($(expr 028 + 0) % 1000)) 28 Fixes: a6a0b252baa6 ("bcm4908: add sysupgrade support") Signed-off-by: Sungbo Eo <mans0n@gorani.run> (cherry picked from commit f4323538501d58298f4df73a034a51375a477cfc)
Diffstat (limited to 'package/kernel/gpio-button-hotplug')
0 files changed, 0 insertions, 0 deletions