openwrt/target/linux/bcm4908
Sungbo Eo f432353850 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: a6a0b252ba ("bcm4908: add sysupgrade support")
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2021-11-04 15:52:03 +01:00
..
base-files bcm4908: fix calculation of new cferam index 2021-11-04 15:52:03 +01:00
files-5.4/drivers/net/ethernet/broadcom
files-5.10/drivers/net/ethernet/broadcom bcm4908: prepare kernel 5.10 support 2021-11-03 12:08:40 +01:00
generic
image
patches-5.4
patches-5.10 bcm4908: prepare kernel 5.10 support 2021-11-03 12:08:40 +01:00
config-5.4
config-5.10 bcm4908: add testing support for kernel 5.10 2021-11-03 12:16:06 +01:00
Makefile bcm4908: add testing support for kernel 5.10 2021-11-03 12:16:06 +01:00