openwrt/target/linux
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
..
apm821xx apm821xx: MBL: MR24: fetch IP address over dhcp by default 2021-11-01 00:56:51 +01:00
arc770
archs38
armvirt
at91 kernel: Set some options in generic configuration 2021-11-02 23:37:19 +01:00
ath25
ath79 ath79: add support for Netgear R6100 2021-11-03 12:45:40 +01:00
bcm27xx kernel: Set some options in generic configuration 2021-11-02 23:37:19 +01:00
bcm47xx
bcm53xx bcm53xx: add first 5.17 DTS changes 2021-11-04 07:00:21 +01:00
bcm63xx
bcm4908 bcm4908: fix calculation of new cferam index 2021-11-04 15:52:03 +01:00
bmips
gemini
generic kernel: Set some options in generic configuration 2021-11-02 23:37:19 +01:00
imx imx: remove obsolete Kernel 5.4 2021-11-03 12:45:40 +01:00
ipq40xx ipq40xx: disable some devices due to kernel size 2021-11-03 23:50:56 +01:00
ipq806x kernel: 5.10: packet mangling code only for ar8216 driver 2021-11-02 22:36:41 +01:00
ipq807x
kirkwood
lantiq kernel: 5.10: packet mangling code only for ar8216 driver 2021-11-02 22:36:41 +01:00
layerscape
malta
mediatek kernel: Set some options in generic configuration 2021-11-02 23:37:19 +01:00
mpc85xx kernel: 5.10: packet mangling code only for ar8216 driver 2021-11-02 22:36:41 +01:00
mvebu
mxs kernel: Set some options in generic configuration 2021-11-02 23:37:19 +01:00
octeon
octeontx
omap
oxnas
pistachio pistachio: Take bootargs from device tree 2021-11-02 23:37:19 +01:00
ramips kernel: 5.10: packet mangling code only for ar8216 driver 2021-11-02 22:36:41 +01:00
realtek realtek: backport GPIO IRQ index fix 2021-11-01 00:56:51 +01:00
rockchip
sunxi kernel: Set some options in generic configuration 2021-11-02 23:37:19 +01:00
tegra
uml uml: add Kernel 5.10 support via testing 2021-11-02 10:04:50 -10:00
x86
zynq kernel: Set some options in generic configuration 2021-11-02 23:37:19 +01:00
Makefile