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 armvirt: enable MMIO_CMDLINE_DEVICES for firecracker support 2021-10-12 19:22:08 -10:00
at91 kernel: Set some options in generic configuration 2021-11-02 23:37:19 +01:00
ath25 kernel: bump 5.4 to 5.4.154 2021-10-21 00:17:36 +02:00
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 bcm47xx: add kernel 5.10 support 2021-10-21 17:38:17 +02:00
bcm53xx bcm53xx: add first 5.17 DTS changes 2021-11-04 07:00:21 +01:00
bcm63xx kernel: bump 5.10 to 5.10.74 2021-10-21 00:17:36 +02:00
bcm4908 bcm4908: fix calculation of new cferam index 2021-11-04 15:52:03 +01:00
bmips kernel: bump 5.10 to 5.10.74 2021-10-21 00:17:36 +02:00
gemini gemini: splash banner on framebuffer console 2021-10-10 16:44:15 +02:00
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 kirkwood: switch to kernel 5.10 2021-10-09 18:44:55 +02:00
lantiq kernel: 5.10: packet mangling code only for ar8216 driver 2021-11-02 22:36:41 +01:00
layerscape layerscape: Fix build in dtb 2021-10-22 22:12:24 +02:00
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 kernel: bump 5.10 to 5.10.76 2021-10-30 21:17:20 +02:00
mxs kernel: Set some options in generic configuration 2021-11-02 23:37:19 +01:00
octeon
octeontx
omap
oxnas kernel: bump 5.10 to 5.10.76 2021-10-30 21:17:20 +02:00
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 rockchip: move r8152 related patches to generic 2021-10-30 21:17:20 +02:00
sunxi kernel: Set some options in generic configuration 2021-11-02 23:37:19 +01:00
tegra tegra: switch to kernel 5.10 2021-10-18 21:32:36 +02:00
uml uml: add Kernel 5.10 support via testing 2021-11-02 10:04:50 -10:00
x86 kernel: bump 5.10 to 5.10.73 2021-10-21 00:17:36 +02:00
zynq kernel: Set some options in generic configuration 2021-11-02 23:37:19 +01:00
Makefile